]> git.karo-electronics.de Git - linux-beck.git/commit
rcutorture: Abstract torture_shuffle()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 28 Jan 2014 23:29:21 +0000 (15:29 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 23 Feb 2014 17:01:05 +0000 (09:01 -0800)
commit3808dc9fab05913060626d7f0edd0f195cb9dcab
tree5db578f420dc657197fd34b3a9a2c20bf79e0de3
parentf67a33561e6e5463b548219df98130da95f2e4a7
rcutorture: Abstract torture_shuffle()

The torture_shuffle() function forces each CPU in turn to go idle
periodically in order to check for problems interacting with per-CPU
variables and with dyntick-idle mode.  Because this sort of debugging
is not specific to RCU, this commit abstracts that functionality.
This in turn requires abstracting some additional infrastructure.

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