diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-04-19 16:03:18 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-06-14 19:02:15 -0400 |
commit | f8cbdee99b161cb08c3fb55200941028c5fe25c8 (patch) | |
tree | 4fd3e6309e1e46bd8f41f85ee3271b4d9fca88a8 /lib | |
parent | af8c34ce6ae32addda3788d54a7e340cad22516b (diff) |
torture: Simplify code, eliminate RCU_PERF_TEST_RUNNABLE
This commit applies the infamous IS_ENABLED() macro to eliminate a #ifdef.
It also eliminates the RCU_PERF_TEST_RUNNABLE Kconfig option in favor
of the already-existing rcuperf.perf_runnable kernel boot parameter.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index b9cfdbfae9aa..cf6ddcd8f70c 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -1307,22 +1307,6 @@ config RCU_PERF_TEST | |||
1307 | Say M if you want the RCU performance tests to build as a module. | 1307 | Say M if you want the RCU performance tests to build as a module. |
1308 | Say N if you are unsure. | 1308 | Say N if you are unsure. |
1309 | 1309 | ||
1310 | config RCU_PERF_TEST_RUNNABLE | ||
1311 | bool "performance tests for RCU runnable by default" | ||
1312 | depends on RCU_PERF_TEST = y | ||
1313 | default n | ||
1314 | help | ||
1315 | This option provides a way to build the RCU performance tests | ||
1316 | directly into the kernel without them starting up at boot time. | ||
1317 | You can use /sys/module to manually override this setting. | ||
1318 | This /proc file is available only when the RCU performance | ||
1319 | tests have been built into the kernel. | ||
1320 | |||
1321 | Say Y here if you want the RCU performance tests to start during | ||
1322 | boot (you probably don't). | ||
1323 | Say N here if you want the RCU performance tests to start only | ||
1324 | after being manually enabled via /sys/module. | ||
1325 | |||
1326 | config RCU_TORTURE_TEST | 1310 | config RCU_TORTURE_TEST |
1327 | tristate "torture tests for RCU" | 1311 | tristate "torture tests for RCU" |
1328 | depends on DEBUG_KERNEL | 1312 | depends on DEBUG_KERNEL |