|
@@ -47,6 +47,18 @@ config DEBUG_PAGEALLOC
|
|
|
This results in a large slowdown, but helps to find certain types
|
|
|
of memory corruptions.
|
|
|
|
|
|
+config DEBUG_PER_CPU_MAPS
|
|
|
+ bool "Debug access to per_cpu maps"
|
|
|
+ depends on DEBUG_KERNEL
|
|
|
+ depends on X86_64_SMP
|
|
|
+ default n
|
|
|
+ help
|
|
|
+ Say Y to verify that the per_cpu map being accessed has
|
|
|
+ been setup. Adds a fair amount of code to kernel memory
|
|
|
+ and decreases performance.
|
|
|
+
|
|
|
+ Say N if unsure.
|
|
|
+
|
|
|
config DEBUG_RODATA
|
|
|
bool "Write protect kernel read-only data structures"
|
|
|
depends on DEBUG_KERNEL
|