diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-03-22 15:17:07 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-09-14 13:00:10 -0700 |
commit | f5ef258ce6b9cc89c14cb12f956be8f7eb2ac141 (patch) | |
tree | 8225304c2b06c54bd483e76525e9d309561f114d /lib | |
parent | d74b62bc3241af8ebf5141f5b12e89d9d7f341e1 (diff) |
waketorture: Add a wakeup-torture module
This commit adds a wakeup-torture module to assist tracking down an
elusive lost-wakeup problem.
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, 17 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 2307d7c89dac..8c4aa4cd46d1 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -1413,6 +1413,23 @@ config RCU_TORTURE_TEST_SLOW_CLEANUP_DELAY This option specifies the number of jiffies to wait between each rcu_node structure cleanup operation. +config WAKE_TORTURE_TEST + tristate "Torture test for wakeups and CPU hotplug" + depends on DEBUG_KERNEL + depends on 64BIT + select TORTURE_TEST + default n + help + This option provides a kernel module that runs torture tests + on wakeups from timed waits in the presence of CPU hotplug. + The kernel module may be built after the fact on the running + kernel to be tested, if desired. + + Say Y here if you want wakeup torture tests to be built into + the kernel. + Say M if you want the wakeup torture tests to build as a module. + Say N if you are unsure. + config RCU_CPU_STALL_TIMEOUT int "RCU CPU stall timeout in seconds" depends on RCU_STALL_COMMON |