summaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorNick Piggin2008-10-22 12:33:16 +0200
committerIngo Molnar2008-10-22 13:30:12 +0200
commit9e899816d126cc6f7d405c349f65363214fe7399 (patch)
treea28f4c6357aa987ccfd8faf4f03dbb0005153451 /arch/x86/Kconfig
parentbinfmt_elf_fdpic: Update for cputime changes. (diff)
downloadkernel-qcow2-linux-9e899816d126cc6f7d405c349f65363214fe7399.tar.gz
kernel-qcow2-linux-9e899816d126cc6f7d405c349f65363214fe7399.tar.xz
kernel-qcow2-linux-9e899816d126cc6f7d405c349f65363214fe7399.zip
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/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig9
1 files changed, 9 insertions, 0 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
config ARCH_PHYS_ADDR_T_64BIT
def_bool X86_64 || X86_PAE
+config DIRECT_GBPAGES
+ bool "Enable 1GB pages for kernel pagetables" if EMBEDDED
+ default y
+ depends on X86_64
+ help
+ Allow the kernel linear mapping to use 1GB pages on CPUs that
+ support it. This can improve the kernel's performance a tiny bit by
+ reducing TLB pressure. If in doubt, say "Y".
+
# Common NUMA Features
config NUMA
bool "Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)"