]> Git Repo - linux.git/commit
x86: query dynamic DEBUG_PAGEALLOC setting
authorChristian Borntraeger <[email protected]>
Tue, 15 Mar 2016 21:57:33 +0000 (14:57 -0700)
committerLinus Torvalds <[email protected]>
Tue, 15 Mar 2016 23:55:16 +0000 (16:55 -0700)
commit288cf3c64e4522d28349de5345348574cbe9df83
treef3d351ad1299a81608dd30d98c6b7a10ab09599c
parent8df651c7059e7980f08430d4ebbd134b046657ee
x86: query dynamic DEBUG_PAGEALLOC setting

We can use debug_pagealloc_enabled() to check if we can map the identity
mapping with 2MB pages.  We can also add the state into the dump_stack
output.

The patch does not touch the code for the 1GB pages, which ignored
CONFIG_DEBUG_PAGEALLOC.  Do we need to fence this as well?

Signed-off-by: Christian Borntraeger <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Acked-by: David Rientjes <[email protected]>
Cc: Laura Abbott <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Heiko Carstens <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/x86/kernel/dumpstack.c
arch/x86/mm/init.c
arch/x86/mm/pageattr.c
This page took 0.056262 seconds and 4 git commands to generate.