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

From: Zou Nan hai
Date: Thu Apr 13 2006 - 22:42:55 EST


Modify the kernel document about hugetlb

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

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



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/