diff options
Diffstat (limited to 'mm/Kconfig.debug')
| -rw-r--r-- | mm/Kconfig.debug | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mm/Kconfig.debug b/mm/Kconfig.debug index c8d62d49a44e..bb01e298f260 100644 --- a/mm/Kconfig.debug +++ b/mm/Kconfig.debug | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | config DEBUG_PAGEALLOC | ||
| 2 | bool "Debug page memory allocations" | ||
| 3 | depends on DEBUG_KERNEL && ARCH_SUPPORTS_DEBUG_PAGEALLOC | ||
| 4 | depends on !HIBERNATION || !PPC && !SPARC | ||
| 5 | ---help--- | ||
| 6 | Unmap pages from the kernel linear mapping after free_pages(). | ||
| 7 | This results in a large slowdown, but helps to find certain types | ||
| 8 | of memory corruptions. | ||
| 9 | |||
| 1 | config WANT_PAGE_DEBUG_FLAGS | 10 | config WANT_PAGE_DEBUG_FLAGS |
| 2 | bool | 11 | bool |
| 3 | 12 | ||
