commit | 78c997a4be7d1ed3ff4c27f23d30a0185d39bcbf | [log] [tgz] |
---|---|---|
author | Chen, Kenneth W <kenneth.w.chen@intel.com> | Fri Mar 31 02:30:01 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Mar 31 12:18:50 2006 -0800 |
tree | 6ca625d590c7ec2e31acca3f2a1d28dce2e96332 | |
parent | d6692183ac1d8f4a4e4015f9ce9acc2514618e0b [diff] |
[PATCH] hugetlb: don't allow free hugetlb count fall below reserved count With strict page reservation, I think kernel should enforce number of free hugetlb page don't fall below reserved count. Currently it is possible in the sysctl path. Add proper check in sysctl to disallow that. Signed-off-by: Ken Chen <kenneth.w.chen@intel.com> Cc: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>