aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2008-10-22 06:33:16 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-22 07:30:12 -0400
commit9e899816d126cc6f7d405c349f65363214fe7399 (patch)
treea28f4c6357aa987ccfd8faf4f03dbb0005153451 /arch
parent2515ddc6db8eb49a79f0fe5e67ff09ac7c81eab4 (diff)
x86, mm: enable GBPAGES option by default
DIRECT_GBPAGES was under DEBUG_KERNEL && EXPERIMENTAL and disabled by default. Turn it on by default and put it under EMBEDDED. Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/Kconfig9
-rw-r--r--arch/x86/Kconfig.debug12
2 files changed, 9 insertions, 12 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 5b9b12321ad1..c00aefcb47d5 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -946,6 +946,15 @@ config X86_PAE
946config ARCH_PHYS_ADDR_T_64BIT 946config ARCH_PHYS_ADDR_T_64BIT
947 def_bool X86_64 || X86_PAE 947 def_bool X86_64 || X86_PAE
948 948
949config DIRECT_GBPAGES
950 bool "Enable 1GB pages for kernel pagetables" if EMBEDDED
951 default y
952 depends on X86_64
953 help
954 Allow the kernel linear mapping to use 1GB pages on CPUs that
955 support it. This can improve the kernel's performance a tiny bit by
956 reducing TLB pressure. If in doubt, say "Y".
957
949# Common NUMA Features 958# Common NUMA Features
950config NUMA 959config NUMA
951 bool "Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)" 960 bool "Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)"
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug
index 2a3dfbd5e677..567fe543e09c 100644
--- a/arch/x86/Kconfig.debug
+++ b/arch/x86/Kconfig.debug
@@ -114,18 +114,6 @@ config DEBUG_RODATA
114 data. This is recommended so that we can catch kernel bugs sooner. 114 data. This is recommended so that we can catch kernel bugs sooner.
115 If in doubt, say "Y". 115 If in doubt, say "Y".
116 116
117config DIRECT_GBPAGES
118 bool "Enable gbpages-mapped kernel pagetables"
119 depends on DEBUG_KERNEL && EXPERIMENTAL && X86_64
120 help
121 Enable gigabyte pages support (if the CPU supports it). This can
122 improve the kernel's performance a tiny bit by reducing TLB
123 pressure.
124
125 This is experimental code.
126
127 If in doubt, say "N".
128
129config DEBUG_RODATA_TEST 117config DEBUG_RODATA_TEST
130 bool "Testcase for the DEBUG_RODATA feature" 118 bool "Testcase for the DEBUG_RODATA feature"
131 depends on DEBUG_RODATA 119 depends on DEBUG_RODATA