summaryrefslogtreecommitdiffstats
path: root/Documentation/vm/hugetlbpage.txt
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2006-04-19 07:21:51 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-19 18:13:52 +0200
commit5e1222717932ff7d447af6da03c10a81fb60af7d (patch)
treeb4b3488b24b668be2ecb9d1eb15383e58493ab31 /Documentation/vm/hugetlbpage.txt
parent[PATCH] apm: fix Armada laptops again (diff)
downloadlinux-5e1222717932ff7d447af6da03c10a81fb60af7d.tar.xz
linux-5e1222717932ff7d447af6da03c10a81fb60af7d.zip
[PATCH] Doc: vm/hugetlbpage update-2
Add new line of /proc/meminfo output. Explain the HugePage_ lines in /proc/meminfo (from Bill Irwin). Change KB to kB since the latter is what is used in the kernel. Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-rw-r--r--Documentation/vm/hugetlbpage.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/Documentation/vm/hugetlbpage.txt b/Documentation/vm/hugetlbpage.txt
index 2803f63c1a27..687104bfd09a 100644
--- a/Documentation/vm/hugetlbpage.txt
+++ b/Documentation/vm/hugetlbpage.txt
@@ -32,7 +32,16 @@ The output of "cat /proc/meminfo" will have lines like:
.....
HugePages_Total: xxx
HugePages_Free: yyy
-Hugepagesize: zzz KB
+HugePages_Rsvd: www
+Hugepagesize: zzz kB
+
+where:
+HugePages_Total is the size of the pool of hugepages.
+HugePages_Free is the number of hugepages in the pool that are not yet
+allocated.
+HugePages_Rsvd is short for "reserved," and is the number of hugepages
+for which a commitment to allocate from the pool has been made, but no
+allocation has yet been made. It's vaguely analogous to overcommit.
/proc/filesystems should also show a filesystem of type "hugetlbfs" configured
in the kernel.