aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 0efcdca9751a..09596e01468e 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -983,6 +983,17 @@ config DEBUG_FORCE_WEAK_PER_CPU
983 To ensure that generic code follows the above rules, this 983 To ensure that generic code follows the above rules, this
984 option forces all percpu variables to be defined as weak. 984 option forces all percpu variables to be defined as weak.
985 985
986config DEBUG_PER_CPU_MAPS
987 bool "Debug access to per_cpu maps"
988 depends on DEBUG_KERNEL
989 depends on SMP
990 help
991 Say Y to verify that the per_cpu map being accessed has
992 been set up. This adds a fair amount of code to kernel memory
993 and decreases performance.
994
995 Say N if unsure.
996
986config LKDTM 997config LKDTM
987 tristate "Linux Kernel Dump Test Tool Module" 998 tristate "Linux Kernel Dump Test Tool Module"
988 depends on DEBUG_FS 999 depends on DEBUG_FS