torture: Increase stutter-end intensity
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 4 Mar 2014 19:03:21 +0000 (11:03 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 14 May 2014 16:46:02 +0000 (09:46 -0700)
commitab7d45053f99f44f81a221eb5c9fbe253ee94524
treee4d5726c3b6dc260eb1c53ad97002d56764180b5
parentfff35c4e9fbb0982aef6230cbf713c2492925eca
torture: Increase stutter-end intensity

Currently, all stuttered kthreads block a jiffy at a time, which can
result in them starting at different times.  (Note: This is not an
energy-efficiency problem unless you run torture tests in production,
in which case you have other problems!)  This commit increases the
intensity of the restart event by causing kthreads to spin through the
last jiffy, restarting when they see the variable change.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/torture.c