diff options
Diffstat (limited to 'arch/x86/Kconfig.debug')
-rw-r--r-- | arch/x86/Kconfig.debug | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug index 88420af9814..0a82b889d76 100644 --- a/arch/x86/Kconfig.debug +++ b/arch/x86/Kconfig.debug | |||
@@ -47,6 +47,18 @@ config DEBUG_PAGEALLOC | |||
47 | This results in a large slowdown, but helps to find certain types | 47 | This results in a large slowdown, but helps to find certain types |
48 | of memory corruptions. | 48 | of memory corruptions. |
49 | 49 | ||
50 | config DEBUG_PER_CPU_MAPS | ||
51 | bool "Debug access to per_cpu maps" | ||
52 | depends on DEBUG_KERNEL | ||
53 | depends on X86_64_SMP | ||
54 | default n | ||
55 | help | ||
56 | Say Y to verify that the per_cpu map being accessed has | ||
57 | been setup. Adds a fair amount of code to kernel memory | ||
58 | and decreases performance. | ||
59 | |||
60 | Say N if unsure. | ||
61 | |||
50 | config DEBUG_RODATA | 62 | config DEBUG_RODATA |
51 | bool "Write protect kernel read-only data structures" | 63 | bool "Write protect kernel read-only data structures" |
52 | depends on DEBUG_KERNEL | 64 | depends on DEBUG_KERNEL |