The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/mm/Kconfig.debug

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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

Cache object: f7c69f2b9554b57b657b04eab7a9549e


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.