summaryrefslogtreecommitdiffstats
path: root/arch/s390/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/Kconfig.debug')
-rw-r--r--arch/s390/Kconfig.debug8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/s390/Kconfig.debug b/arch/s390/Kconfig.debug
index 2283933a9a93..4599fa06bd82 100644
--- a/arch/s390/Kconfig.debug
+++ b/arch/s390/Kconfig.debug
@@ -6,4 +6,12 @@ config TRACE_IRQFLAGS_SUPPORT
source "lib/Kconfig.debug"
+config DEBUG_PAGEALLOC
+ bool "Debug page memory allocations"
+ depends on DEBUG_KERNEL
+ help
+ Unmap pages from the kernel linear mapping after free_pages().
+ This results in a slowdown, but helps to find certain types of
+ memory corruptions.
+
endmenu
OpenPOWER on IntegriCloud