blob: 6c612b7691b09816508f7aa0f34391ec1bc6d335 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
Linus Torvalds1da177e2005-04-16 15:20:36 -07005config DEBUG_PAGEALLOC
Andrew Morton4a2f0ac2006-03-25 03:07:22 -08006 bool "Debug page memory allocations"
Al Viro697ae162005-08-23 22:45:36 +01007 depends on DEBUG_KERNEL && BROKEN
Linus Torvalds1da177e2005-04-16 15:20:36 -07008 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 corruptions.
12
13config FRAME_POINTER
14 bool "Compile the kernel with frame pointers"
15 help
16 If you say Y here the resulting kernel image will be slightly larger
17 and slower, but it will give very useful debugging information.
18 If you don't debug the kernel, you can say N, but we may not be able
19 to solve problems without frame pointers.
20
21endmenu