Version:  2.0.40 2.2.26 2.4.37 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 3.10 3.11 3.12 3.13 3.14 3.15 3.16 3.17

Linux/mm/Kconfig.debug

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

This page was automatically generated by LXR 0.3.1 (source).  •  Linux is a registered trademark of Linus Torvalds  •  Contact us