rcu: Test srcu_barrier() from rcutorture test suite
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 8 May 2012 17:21:50 +0000 (10:21 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 2 Jul 2012 19:34:03 +0000 (12:34 -0700)
commite3f8d3788ed7cf55946030dc9b76e73edb111602
treec29544359df3507532eddcd141de94382af4a32a
parent751a68b2e46fe11a42450cb55a16e8065eddec7e
rcu: Test srcu_barrier() from rcutorture test suite

SRCU now has a call_srcu() and an srcu_barrier(), but rcutorture does not
test them.  This commit adds the machinery to allow rcutorture's existing
tests for call_rcu() and rcu_barrier() to apply to the SRCU equivalents.

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