summaryrefslogtreecommitdiff
path: root/mm/vmscan.c
diff options
context:
space:
mode:
authorRavikiran G Thirumalai <kiran@scalex86.org>2009-03-31 22:21:26 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-01 15:59:12 (GMT)
commit2584e517320bd48dc8d20e38a2621a2dbe58fade (patch)
tree3b94b6c4cc10ab16ab106464e8d32e2e77ad8634 /mm/vmscan.c
parent8a0bdec194c21c8fdef840989d0d7b742bb5d4bc (diff)
downloadlinux-fsl-qoriq-2584e517320bd48dc8d20e38a2621a2dbe58fade.tar.xz
mm: reintroduce and deprecate rlimit based access for SHM_HUGETLB
Allow non root users with sufficient mlock rlimits to be able to allocate hugetlb backed shm for now. Deprecate this though. This is being deprecated because the mlock based rlimit checks for SHM_HUGETLB is not consistent with mmap based huge page allocations. Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org> Reviewed-by: Mel Gorman <mel@csn.ul.ie> Cc: William Lee Irwin III <wli@holomorphy.com> Cc: Adam Litke <agl@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions