Re: [PATCH 8/8] IA64 various hugepage size - Modify kernel document

Zou Nan hai
2006-04-14T01:00:18Z

Modify the kernel document about hugetlb

Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>

diff -Nraup a/Documentation/vm/hugetlbpage.txt b/Documentation/vm/hugetlbpage.txt
--- a/Documentation/vm/hugetlbpage.txt 2006-03-20 13:53:29.000000000 +0800
+++ b/Documentation/vm/hugetlbpage.txt 2006-04-12 06:13:50.000000000 +0800
@@ -68,9 +68,12 @@ If the user applications are going to re
call, then it is required that system administrator mount a file system of
type hugetlbfs:

- mount none /mnt/huge -t hugetlbfs <uid=value> <gid=value> <mode=value>
+ mount none /mnt/huge -t hugetlbfs -o <uid=value> <gid=value> <mode=value>
<size=value> <nr_inodes=value>

+on IA64 there is another mount option page_size=value which could
+mount a hugetlbfs with given huge page size;
+
This command mounts a (pseudo) filesystem of type hugetlbfs on the directory
/mnt/huge. Any files created on /mnt/huge uses hugepages. The uid and gid
options sets the owner and group of the root of the file system. By default