summaryrefslogtreecommitdiff
path: root/arch/s390/Kconfig.debug
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2008-02-05 18:50:37 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-02-05 18:50:54 +0300
commit2485579bf5d3ea30d39b251defa1620ad77168bd (patch)
treeef07e9e793f7f73d69b21c539ad96d5346787182 /arch/s390/Kconfig.debug
parent01bc8ad165490458a8feb744c8f401c1a7098e3a (diff)
downloadlinux-2485579bf5d3ea30d39b251defa1620ad77168bd.tar.xz
[S390] DEBUG_PAGEALLOC support for s390.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
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