Debug page memory allocations

modulename: debug-pagealloc.ko

and/or

page_poison.ko

configname: CONFIG_PAGE_POISONING

Linux Kernel Configuration
└─>Debug page memory allocations
In linux kernel since version 2.6.30 (release Date: 2009-06-09)  
Fill the pages with poison patterns after free_pages() and verify
the patterns before alloc_pages(). This results in a large slowdown,
but helps to find certain types of memory corruptions.

This option cannot enalbe with hibernation. Otherwise, it will get
wrong messages for memory corruption because the free pages are not
saved to the suspend image.

source code: