2005-04-16 16:20:36 -06:00
|
|
|
menu "Kernel hacking"
|
|
|
|
|
|
|
|
source "lib/Kconfig.debug"
|
|
|
|
|
|
|
|
config DEBUG_PAGEALLOC
|
2006-03-25 04:07:22 -07:00
|
|
|
bool "Debug page memory allocations"
|
2005-08-23 15:45:36 -06:00
|
|
|
depends on DEBUG_KERNEL && BROKEN
|
2005-04-16 16:20:36 -06:00
|
|
|
help
|
|
|
|
Unmap pages from the kernel linear mapping after free_pages().
|
|
|
|
This results in a large slowdown, but helps to find certain types
|
|
|
|
of memory corruptions.
|
|
|
|
|
|
|
|
config FRAME_POINTER
|
|
|
|
bool "Compile the kernel with frame pointers"
|
|
|
|
help
|
|
|
|
If you say Y here the resulting kernel image will be slightly larger
|
|
|
|
and slower, but it will give very useful debugging information.
|
|
|
|
If you don't debug the kernel, you can say N, but we may not be able
|
|
|
|
to solve problems without frame pointers.
|
|
|
|
|
|
|
|
endmenu
|