aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorAdam Litke <[email protected]>2008-07-23 21:27:59 -0700
committerLinus Torvalds <[email protected]>2008-07-24 10:47:19 -0700
commit7251ff78b94c2a68d267623d09b32672b20662c1 (patch)
treebfe107d8837b259b4043d1b38ec0d44e35eb2cd0 /include/linux/timerqueue.h
parent7f09ca51e925ba62e9ebfd4979f093e97e38adeb (diff)
hugetlb: quota is not freed for unused reserved private huge pages
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: Adam Litke <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: William Lee Irwin III <[email protected]> Cc: Hugh Dickins <[email protected]> Acked-by: Andy Whitcroft <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions