rcu: Allow rcutorture's stat_interval parameter to be changed at runtime
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 21 Jul 2011 23:00:17 +0000 (16:00 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 29 Sep 2011 04:38:27 +0000 (21:38 -0700)
commit3721bc1d3ed9940b17791805b7ee3a4743295d12
tree1ef9575fc29f9fe5be4420143c238731349265ab
parent22507ed9b9d587486fb4681e93a8c58837738a25
rcu: Allow rcutorture's stat_interval parameter to be changed at runtime

When rcutorture is compiled directly into the kernel
(instead of separately as a module), it is necessary to specify
rcutorture.stat_interval as a kernel command-line parameter, otherwise,
the rcu_torture_stats kthread is never started.  However, when working
with the system after it has booted, it is convenient to be able to
change the time between statistic printing, particularly when logged
into the console.

This commit therefore allows the stat_interval parameter to be changed
at runtime.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutorture.c