]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 10 Aug 2011 02:28:38 +0000 (19:28 -0700)
commit28d63737a47f2f570e0086882865edbc9ec79311
tree1da8c6de0f17e9549b34ca5b3134d9c8c87eaabc
parent298c0b950d1e8c0ce155c9b24d7c5338928aa888
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