rcu: Add rcutorture system-shutdown capability
authorPaul E. McKenney <paul.mckenney@linaro.org>
Fri, 4 Nov 2011 18:44:12 +0000 (11:44 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 11 Dec 2011 18:31:46 +0000 (10:31 -0800)
commitd5f546d834ddc44539651e9955eb3577b0a3eb8b
tree8262c6af876ff49d7f60772690255588b8833bd5
parentb807fbff3102bcac76ed9157d834dc20bb3d133b
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>
Documentation/RCU/torture.txt
kernel/rcutorture.c
This page took 0.043581 seconds and 5 git commands to generate.