drm/i915: Avoid saving/restore the modesetting registers twice in KMS mode
[safe/jmp/linux-2.6] / mm / Kconfig.debug
index c8d62d4..aa99fd1 100644 (file)
@@ -1,3 +1,13 @@
+config DEBUG_PAGEALLOC
+       bool "Debug page memory allocations"
+       depends on DEBUG_KERNEL && ARCH_SUPPORTS_DEBUG_PAGEALLOC
+       depends on !HIBERNATION || !PPC && !SPARC
+       depends on !KMEMCHECK
+       ---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