X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fs390%2FKconfig.debug;h=4599fa06bd82a759d322dcd25a85bbfb6edfb369;hb=c64768a7d671bcde80bca2aed93f9e07edc069c3;hp=2283933a9a93eef48b2de37aefe944540af03ff4;hpb=1f194a4c393103ac925001d7e04b05fbb122580d;p=linux-2.6 diff --git a/arch/s390/Kconfig.debug b/arch/s390/Kconfig.debug index 2283933a9a..4599fa06bd 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