]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | menu "Kernel hacking" |
2 | ||
3 | source "lib/Kconfig.debug" | |
4 | ||
1da177e4 | 5 | config DEBUG_PAGEALLOC |
4a2f0acf | 6 | bool "Debug page memory allocations" |
697ae16a | 7 | depends on DEBUG_KERNEL && BROKEN |
1da177e4 LT |
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 corruptions. | |
12 | ||
13 | config 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 | ||
21 | endmenu |