diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-04-19 17:42:34 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-06-14 19:02:15 -0400 |
commit | 4e9a073f60367157fd64b65490654c39d4c44321 (patch) | |
tree | e2ed1946499a0aa271e9b46b69d05ef9ea0a1da3 /lib | |
parent | f8cbdee99b161cb08c3fb55200941028c5fe25c8 (diff) |
torture: Remove CONFIG_RCU_TORTURE_TEST_RUNNABLE, simplify code
This commit removes CONFIG_RCU_TORTURE_TEST_RUNNABLE in favor of the
already-existing rcutorture.torture_runnable kernel boot parameter.
It also converts an #ifdef into IS_ENABLED(), saving a few lines of code.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index cf6ddcd8f70c..805b7048a1bd 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -1324,23 +1324,6 @@ config RCU_TORTURE_TEST | |||
1324 | Say M if you want the RCU torture tests to build as a module. | 1324 | Say M if you want the RCU torture tests to build as a module. |
1325 | Say N if you are unsure. | 1325 | Say N if you are unsure. |
1326 | 1326 | ||
1327 | config RCU_TORTURE_TEST_RUNNABLE | ||
1328 | bool "torture tests for RCU runnable by default" | ||
1329 | depends on RCU_TORTURE_TEST = y | ||
1330 | default n | ||
1331 | help | ||
1332 | This option provides a way to build the RCU torture tests | ||
1333 | directly into the kernel without them starting up at boot | ||
1334 | time. You can use /proc/sys/kernel/rcutorture_runnable | ||
1335 | to manually override this setting. This /proc file is | ||
1336 | available only when the RCU torture tests have been built | ||
1337 | into the kernel. | ||
1338 | |||
1339 | Say Y here if you want the RCU torture tests to start during | ||
1340 | boot (you probably don't). | ||
1341 | Say N here if you want the RCU torture tests to start only | ||
1342 | after being manually enabled via /proc. | ||
1343 | |||
1344 | config RCU_TORTURE_TEST_SLOW_PREINIT | 1327 | config RCU_TORTURE_TEST_SLOW_PREINIT |
1345 | bool "Slow down RCU grace-period pre-initialization to expose races" | 1328 | bool "Slow down RCU grace-period pre-initialization to expose races" |
1346 | depends on RCU_TORTURE_TEST | 1329 | depends on RCU_TORTURE_TEST |