|
@@ -983,6 +983,17 @@ config DEBUG_FORCE_WEAK_PER_CPU
|
|
|
To ensure that generic code follows the above rules, this
|
|
|
option forces all percpu variables to be defined as weak.
|
|
|
|
|
|
+config DEBUG_PER_CPU_MAPS
|
|
|
+ bool "Debug access to per_cpu maps"
|
|
|
+ depends on DEBUG_KERNEL
|
|
|
+ depends on SMP
|
|
|
+ help
|
|
|
+ Say Y to verify that the per_cpu map being accessed has
|
|
|
+ been set up. This adds a fair amount of code to kernel memory
|
|
|
+ and decreases performance.
|
|
|
+
|
|
|
+ Say N if unsure.
|
|
|
+
|
|
|
config LKDTM
|
|
|
tristate "Linux Kernel Dump Test Tool Module"
|
|
|
depends on DEBUG_FS
|