mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
This commit is contained in:
parent
9a3dc7804e
commit
12d6f21eac
5 changed files with 29 additions and 14 deletions
|
|
@ -318,6 +318,10 @@ static int __init unknown_bootoption(char *param, char *val)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_DEBUG_PAGEALLOC
|
||||
int __read_mostly debug_pagealloc_enabled = 0;
|
||||
#endif
|
||||
|
||||
static int __init init_setup(char *str)
|
||||
{
|
||||
unsigned int i;
|
||||
|
|
@ -552,6 +556,7 @@ asmlinkage void __init start_kernel(void)
|
|||
preempt_disable();
|
||||
build_all_zonelists();
|
||||
page_alloc_init();
|
||||
enable_debug_pagealloc();
|
||||
printk(KERN_NOTICE "Kernel command line: %s\n", boot_command_line);
|
||||
parse_early_param();
|
||||
parse_args("Booting kernel", static_command_line, __start___param,
|
||||
|
|
|
|||
Loading…
Reference in a new issue