rcu: Add rcutorture CPU-hotplug capability
authorPaul E. McKenney <paul.mckenney@linaro.org>
Thu, 17 Nov 2011 01:48:21 +0000 (17:48 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 11 Dec 2011 18:31:56 +0000 (10:31 -0800)
commitb58bdccaa8d908e0f71dae396468a0d3f7bb3125
treec03e6b8691a6569407c69b3456df88094d70309a
parenta95f8817f8afa75ab41728bd1bb65024c65c91c3
rcu: Add rcutorture CPU-hotplug capability

Running CPU-hotplug operations concurrently with rcutorture has
historically been a good way to find bugs in both RCU and CPU hotplug.
This commit therefore adds an rcutorture module parameter called
"onoff_interval" that causes a randomly selected CPU-hotplug operation to
be executed at the specified interval, in seconds.  The default value of
"onoff_interval" is zero, which disables rcutorture-instigated CPU-hotplug
operations.

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