Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe
  • Repository

Switch branch/tag
  • ipipe
  • mm
  • hugetlb.c
Find file BlameHistoryPermalink
  • Adam Litke's avatar
    hugetlb: quota is not freed for unused reserved private huge pages · 7251ff78
    Adam Litke authored Jul 23, 2008
    
    
    With shared reservations (and now also with private reservations), we reserve
    huge pages at mmap time.  We also account for the mapping against fs quota to
    prevent a reservation from being preempted by quota exhaustion.
    
    When testing with the libhugetlbfs test suite, I found a problem with quota
    accounting.  FS quota for allocated pages is handled correctly but we are not
    releasing quota for private pages that were reserved but never allocated.  Do
    this in hugetlb_vm_op_close() at the same time as unused page reservations are
    released.
    Signed-off-by: default avatarAdam Litke <agl@us.ibm.com>
    Cc: Mel Gorman <mel@csn.ul.ie>
    Cc: Johannes Weiner <hannes@saeurebad.de>
    Cc: William Lee Irwin III <wli@holomorphy.com>
    Cc: Hugh Dickins <hugh@veritas.com>
    Acked-by: default avatarAndy Whitcroft <apw@shadowen.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    7251ff78

Replace hugetlb.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.

Imprint & Privacy Policy