X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=arch%2Fs390%2FKconfig.debug;h=4599fa06bd82a759d322dcd25a85bbfb6edfb369;hb=07a66d7c53a538e1a9759954a82bb6c07365eff9;hp=2283933a9a93eef48b2de37aefe944540af03ff4;hpb=1f194a4c393103ac925001d7e04b05fbb122580d;p=safe%2Fjmp%2Flinux-2.6 diff --git a/arch/s390/Kconfig.debug b/arch/s390/Kconfig.debug index 2283933..4599fa0 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