Blame view
mm/Kconfig.debug
1015 Bytes
ee3b4290a generic debug pag... |
1 2 |
config DEBUG_PAGEALLOC bool "Debug page memory allocations" |
7bc32f6f9 mm: debug-pageall... |
3 4 |
depends on DEBUG_KERNEL depends on !HIBERNATION || ARCH_SUPPORTS_DEBUG_PAGEALLOC && !PPC && !SPARC |
7d46d9e6d kmemcheck: enable... |
5 |
depends on !KMEMCHECK |
7bc32f6f9 mm: debug-pageall... |
6 |
select PAGE_POISONING if !ARCH_SUPPORTS_DEBUG_PAGEALLOC |
c0a32fc5a mm: more intensiv... |
7 |
select PAGE_GUARD if ARCH_SUPPORTS_DEBUG_PAGEALLOC |
ee3b4290a generic debug pag... |
8 9 10 |
---help--- Unmap pages from the kernel linear mapping after free_pages(). This results in a large slowdown, but helps to find certain types |
22f8b4582 trivial: improve ... |
11 |
of memory corruption. |
ee3b4290a generic debug pag... |
12 |
|
7bc32f6f9 mm: debug-pageall... |
13 14 15 16 17 18 |
For architectures which don't enable ARCH_SUPPORTS_DEBUG_PAGEALLOC, fill the pages with poison patterns after free_pages() and verify the patterns before alloc_pages(). Additionally, this option cannot be enabled in combination with hibernation as that would result in incorrect warnings of memory corruption after a resume because free pages are not saved to the suspend image. |
6a11f75b6 generic debug pag... |
19 20 21 22 |
config WANT_PAGE_DEBUG_FLAGS bool config PAGE_POISONING |
7bc32f6f9 mm: debug-pageall... |
23 |
bool |
6a11f75b6 generic debug pag... |
24 |
select WANT_PAGE_DEBUG_FLAGS |
c0a32fc5a mm: more intensiv... |
25 26 27 28 |
config PAGE_GUARD bool select WANT_PAGE_DEBUG_FLAGS |