aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/RCU
diff options
context:
space:
mode:
authorPaul E. McKenney <paul.mckenney@linaro.org>2011-11-04 14:44:12 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2011-12-11 13:31:46 -0500
commitd5f546d834ddc44539651e9955eb3577b0a3eb8b (patch)
tree8262c6af876ff49d7f60772690255588b8833bd5 /Documentation/RCU
parentb807fbff3102bcac76ed9157d834dc20bb3d133b (diff)
rcu: Add rcutorture system-shutdown capability
Although it is easy to run rcutorture tests under KVM, there is currently no nice way to run such a test for a fixed time period, collect all of the rcutorture data, and then shut the system down cleanly. This commit therefore adds an rcutorture module parameter named "shutdown_secs" that specified the run duration in seconds, after which rcutorture terminates the test and powers the system down. The default value for "shutdown_secs" is zero, which disables shutdown. Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'Documentation/RCU')
-rw-r--r--Documentation/RCU/torture.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/RCU/torture.txt b/Documentation/RCU/torture.txt
index 783d6c134d3f..af40929e1cb0 100644
--- a/Documentation/RCU/torture.txt
+++ b/Documentation/RCU/torture.txt
@@ -66,6 +66,11 @@ shuffle_interval
66 to a particular subset of the CPUs, defaults to 3 seconds. 66 to a particular subset of the CPUs, defaults to 3 seconds.
67 Used in conjunction with test_no_idle_hz. 67 Used in conjunction with test_no_idle_hz.
68 68
69shutdown_secs The number of seconds to run the test before terminating
70 the test and powering off the system. The default is
71 zero, which disables test termination and system shutdown.
72 This capability is useful for automated testing.
73
69stat_interval The number of seconds between output of torture 74stat_interval The number of seconds between output of torture
70 statistics (via printk()). Regardless of the interval, 75 statistics (via printk()). Regardless of the interval,
71 statistics are printed when the module is unloaded. 76 statistics are printed when the module is unloaded.