Skip to contentSkip to conversation

Doc; vm/hugetlbpage update-2

PATCH New Randy.Dunlap 1 participant 1 message Apr 12, 2006 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Doc; vm/hugetlbpage update-2

From: Randy Dunlap <[email protected]>

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.

---
 Documentation/vm/hugetlbpage.txt |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
Documentation/vm/hugetlbpage.txt +10 -1
@@ -32,7 +32,16 @@ The output of "cat /proc/meminfo" will h
 .....
 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.

---
~Randy