]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Catch rcutorture up to new RCU API additions
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 7 Jun 2011 23:59:35 +0000 (16:59 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 10 Aug 2011 02:28:26 +0000 (19:28 -0700)
commitae07bb6bce8aa04811b05b73d924eb000f032ec2
tree6bc01d64328093b6d82bd18470e8c583cb25a1cf
parent3a9445c16172214c8790f00dfac58ffeb3f48299
rcu: Catch rcutorture up to new RCU API additions

Now that the RCU API contains synchronize_rcu_bh(), synchronize_sched(),
call_rcu_sched(), and rcu_bh_expedited()...

Make rcutorture test synchronize_rcu_bh(), getting rid of the old
rcu_bh_torture_synchronize() workaround.  Similarly, make rcutorture test
synchronize_sched(), getting rid of the old sched_torture_synchronize()
workaround.  Make rcutorture test call_rcu_sched() instead of wrappering
synchronize_sched().  Also add testing of rcu_bh_expedited().

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