aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2008-07-24 00:27:52 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-24 13:47:19 -0400
commite11bfbfcb08ef4223b863799897c19cdf7c5bc00 (patch)
tree2d66db5a2f92e3ad299e95a09d327f30f306aa24 /Documentation
parentb4718e628dbf68a2dee23b5709e2aa3190409c56 (diff)
hugetlb: override default huge page size
Allow configurations with the default huge page size which is different to the traditional HPAGE_SIZE size. The default huge page size is the one represented in the legacy /proc ABIs, SHM, and which is defaulted to when mounting hugetlbfs filesystems. This is implemented with a new kernel option default_hugepagesz=, which defaults to HPAGE_SIZE if not specified. Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/kernel-parameters.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index d55fd88fd0a9..30278e9e5211 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -783,6 +783,13 @@ and is between 256 and 4096 characters. It is defined in the file
783 CPU supports the "pdpe1gb" cpuinfo flag) 783 CPU supports the "pdpe1gb" cpuinfo flag)
784 Note that 1GB pages can only be allocated at boot time 784 Note that 1GB pages can only be allocated at boot time
785 using hugepages= and not freed afterwards. 785 using hugepages= and not freed afterwards.
786 default_hugepagesz=
787 [same as hugepagesz=] The size of the default
788 HugeTLB page size. This is the size represented by
789 the legacy /proc/ hugepages APIs, used for SHM, and
790 default size when mounting hugetlbfs filesystems.
791 Defaults to the default architecture's huge page size
792 if not specified.
786 793
787 i8042.direct [HW] Put keyboard port into non-translated mode 794 i8042.direct [HW] Put keyboard port into non-translated mode
788 i8042.dumbkbd [HW] Pretend that controller can only read data from 795 i8042.dumbkbd [HW] Pretend that controller can only read data from