aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-02-26 09:38:59 -0500
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-02-26 09:38:59 -0500
commitf5604f67fe8cbd6f2088b20b9463f721aa613d4b (patch)
tree27b16f4c8415d60c796c24472c29968bc8d39b04 /lib
parent322efba5b6442f331ac8aa24e92a817d804cc938 (diff)
parent73fa867e2c705cf5cf0a38df8618fa20eee3d75a (diff)
Merge branch 'torture.2014.02.23a' into HEAD
torture.2014.02.23a: locktorture addition and rcutorture changes
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index a48abeac753f..dd7f8858188a 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -980,6 +980,21 @@ config DEBUG_LOCKING_API_SELFTESTS
980 The following locking APIs are covered: spinlocks, rwlocks, 980 The following locking APIs are covered: spinlocks, rwlocks,
981 mutexes and rwsems. 981 mutexes and rwsems.
982 982
983config LOCK_TORTURE_TEST
984 tristate "torture tests for locking"
985 depends on DEBUG_KERNEL
986 select TORTURE_TEST
987 default n
988 help
989 This option provides a kernel module that runs torture tests
990 on kernel locking primitives. The kernel module may be built
991 after the fact on the running kernel to be tested, if desired.
992
993 Say Y here if you want kernel locking-primitive torture tests
994 to be built into the kernel.
995 Say M if you want these torture tests to build as a module.
996 Say N if you are unsure.
997
983endmenu # lock debugging 998endmenu # lock debugging
984 999
985config TRACE_IRQFLAGS 1000config TRACE_IRQFLAGS
@@ -1141,9 +1156,14 @@ config SPARSE_RCU_POINTER
1141 1156
1142 Say N if you are unsure. 1157 Say N if you are unsure.
1143 1158
1159config TORTURE_TEST
1160 tristate
1161 default n
1162
1144config RCU_TORTURE_TEST 1163config RCU_TORTURE_TEST
1145 tristate "torture tests for RCU" 1164 tristate "torture tests for RCU"
1146 depends on DEBUG_KERNEL 1165 depends on DEBUG_KERNEL
1166 select TORTURE_TEST
1147 default n 1167 default n
1148 help 1168 help
1149 This option provides a kernel module that runs torture tests 1169 This option provides a kernel module that runs torture tests