diff options
author | Nishanth Aravamudan <nacc@us.ibm.com> | 2007-12-17 19:20:25 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-17 22:28:17 -0500 |
commit | d5dbac87b4343d98ae509fb787efb77f8ddc484b (patch) | |
tree | 5a3cd992275cd754724b7450ec34cea6fa241f6e /Documentation/sysctl/vm.txt | |
parent | 368d2c6358c3c62b3820a8a73f9fe9c8b540cdea (diff) |
Documentation: update hugetlb information
The hugetlb documentation has gotten a bit out of sync with the current code.
Updated the sysctl file to refer to Documentation/vm/hugetlbpage.txt. Update
that file to contain the current state of affairs (with the newer named sysctl
in place).
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Acked-by: Adam Litke <agl@us.ibm.com>
Cc: William Lee Irwin III <wli@holomorphy.com>
Cc: Dave Hansen <haveblue@us.ibm.com>
Cc: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/sysctl/vm.txt')
-rw-r--r-- | Documentation/sysctl/vm.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt index b89570c30434..6f31f0a247d0 100644 --- a/Documentation/sysctl/vm.txt +++ b/Documentation/sysctl/vm.txt | |||
@@ -34,6 +34,8 @@ Currently, these files are in /proc/sys/vm: | |||
34 | - oom_kill_allocating_task | 34 | - oom_kill_allocating_task |
35 | - mmap_min_address | 35 | - mmap_min_address |
36 | - numa_zonelist_order | 36 | - numa_zonelist_order |
37 | - nr_hugepages | ||
38 | - nr_overcommit_hugepages | ||
37 | 39 | ||
38 | ============================================================== | 40 | ============================================================== |
39 | 41 | ||
@@ -305,3 +307,20 @@ will select "node" order in following case. | |||
305 | 307 | ||
306 | Otherwise, "zone" order will be selected. Default order is recommended unless | 308 | Otherwise, "zone" order will be selected. Default order is recommended unless |
307 | this is causing problems for your system/application. | 309 | this is causing problems for your system/application. |
310 | |||
311 | ============================================================== | ||
312 | |||
313 | nr_hugepages | ||
314 | |||
315 | Change the minimum size of the hugepage pool. | ||
316 | |||
317 | See Documentation/vm/hugetlbpage.txt | ||
318 | |||
319 | ============================================================== | ||
320 | |||
321 | nr_overcommit_hugepages | ||
322 | |||
323 | Change the maximum size of the hugepage pool. The maximum is | ||
324 | nr_hugepages + nr_overcommit_hugepages. | ||
325 | |||
326 | See Documentation/vm/hugetlbpage.txt | ||