diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2016-03-15 14:57:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-15 16:55:16 -0700 |
commit | 288cf3c64e4522d28349de5345348574cbe9df83 (patch) | |
tree | f3d351ad1299a81608dd30d98c6b7a10ab09599c /arch/s390/kernel | |
parent | 8df651c7059e7980f08430d4ebbd134b046657ee (diff) | |
download | op-kernel-dev-288cf3c64e4522d28349de5345348574cbe9df83.zip op-kernel-dev-288cf3c64e4522d28349de5345348574cbe9df83.tar.gz |
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 <borntraeger@de.ibm.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Laura Abbott <labbott@fedoraproject.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/s390/kernel')
0 files changed, 0 insertions, 0 deletions