From: Ravikiran G Thirumalai Date: Tue, 31 Mar 2009 22:21:26 +0000 (-0700) Subject: mm: reintroduce and deprecate rlimit based access for SHM_HUGETLB X-Git-Tag: v2.6.30-rc1~571 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2584e517320bd48dc8d20e38a2621a2dbe58fade;p=pandora-kernel.git 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 Reviewed-by: Mel Gorman Cc: William Lee Irwin III Cc: Adam Litke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed