1 # SPDX-License-Identifier: GPL-2.0
4 source "lib/Kconfig.debug"
7 bool "Debug page memory allocations"
8 depends on DEBUG_KERNEL && BROKEN
10 Unmap pages from the kernel linear mapping after free_pages().
11 This results in a large slowdown, but helps to find certain types
12 of memory corruptions.
15 bool "Compile the kernel with frame pointers"
17 If you say Y here the resulting kernel image will be slightly larger
18 and slower, but it will give very useful debugging information.
19 If you don't debug the kernel, you can say N, but we may not be able
20 to solve problems without frame pointers.