]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - mm/Kconfig.debug
generic debug pagealloc
[mirror_ubuntu-bionic-kernel.git] / mm / Kconfig.debug
1 config WANT_PAGE_DEBUG_FLAGS
2 bool
3
4 config PAGE_POISONING
5 bool "Debug page memory allocations"
6 depends on DEBUG_KERNEL && !ARCH_SUPPORTS_DEBUG_PAGEALLOC
7 depends on !HIBERNATION
8 select DEBUG_PAGEALLOC
9 select WANT_PAGE_DEBUG_FLAGS
10 help
11 Fill the pages with poison patterns after free_pages() and verify
12 the patterns before alloc_pages(). This results in a large slowdown,
13 but helps to find certain types of memory corruptions.
14
15 This option cannot enalbe with hibernation. Otherwise, it will get
16 wrong messages for memory corruption because the free pages are not
17 saved to the suspend image.