]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/Kconfig.debug
Remove executable permission for dma.c
[linux-2.6-omap-h63xx.git] / mm / Kconfig.debug
index c8d62d49a44e1bd8ec15e42d321da762b58c3b45..bb01e298f260b84c82b03acdfb11582e42ecbbe6 100644 (file)
@@ -1,3 +1,12 @@
+config DEBUG_PAGEALLOC
+       bool "Debug page memory allocations"
+       depends on DEBUG_KERNEL && ARCH_SUPPORTS_DEBUG_PAGEALLOC
+       depends on !HIBERNATION || !PPC && !SPARC
+       ---help---
+         Unmap pages from the kernel linear mapping after free_pages().
+         This results in a large slowdown, but helps to find certain types
+         of memory corruptions.
+
 config WANT_PAGE_DEBUG_FLAGS
        bool