diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:58 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:58 -0500 |
commit | 12d6f21eacc21d84a809829543f2fe45c7e37319 (patch) | |
tree | 6985f2370ad238fb2a568547a5049751d7c95a69 /arch/x86/kernel/cpu | |
parent | 9a3dc7804e9856668caef41efc54179e61ffccc0 (diff) |
x86: do not PSE on CONFIG_DEBUG_PAGEALLOC=y
get more testing of the c_p_a() code done by not turning off
PSE on DEBUG_PAGEALLOC.
this simplifies the early pagetable setup code, and tests
the largepage-splitup code quite heavily.
In the end, all the largepages will be split up pretty quickly,
so there's no difference to how DEBUG_PAGEALLOC worked before.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/cpu')
-rw-r--r-- | arch/x86/kernel/cpu/common.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index bba850b05d0e..db28aa9e2f69 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c | |||
@@ -641,13 +641,6 @@ void __init early_cpu_init(void) | |||
641 | nexgen_init_cpu(); | 641 | nexgen_init_cpu(); |
642 | umc_init_cpu(); | 642 | umc_init_cpu(); |
643 | early_cpu_detect(); | 643 | early_cpu_detect(); |
644 | |||
645 | #ifdef CONFIG_DEBUG_PAGEALLOC | ||
646 | /* pse is not compatible with on-the-fly unmapping, | ||
647 | * disable it even if the cpus claim to support it. | ||
648 | */ | ||
649 | setup_clear_cpu_cap(X86_FEATURE_PSE); | ||
650 | #endif | ||
651 | } | 644 | } |
652 | 645 | ||
653 | /* Make sure %fs is initialized properly in idle threads */ | 646 | /* Make sure %fs is initialized properly in idle threads */ |