]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Documentation: correct overcommit caveat in hugetlbpage.txt
authorNishanth Aravamudan <nacc@us.ibm.com>
Tue, 15 Apr 2008 21:34:43 +0000 (14:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Apr 2008 02:35:41 +0000 (19:35 -0700)
commit423bec43079a2942a3004034df7aad76469758d8
treedf77cdba718cbee8a61946689390c92eb3c2ab83
parent91446b064c748fc2a238fd68b677c9671e536bfd
Documentation: correct overcommit caveat in hugetlbpage.txt

As shown by Gurudas Pai recently, we can put hugepages into the surplus
state (by echo 0 > /proc/sys/vm/nr_hugepages), even when
/proc/sys/vm/nr_overcommit_hugepages is 0. This is actually correct, to
allow the original goal (shrink the static pool to 0) to succeed (we are
converting hugepages to surplus because they are in use). However, the
documentation does not accurately reflect this case. Update it.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Acked-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/vm/hugetlbpage.txt