rcutorture: Explicitly test synchronous grace-period primitives
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 21 Mar 2014 23:17:56 +0000 (16:17 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 14 May 2014 16:46:22 +0000 (09:46 -0700)
commitf0bf8fab4f311cffa869a462ffd182465c4caee6
treedb29cfb047163e192e57227c86eb09e4cf42e4d0
parenta48f3fad4f97fe6a2522fe2f5b3054b4c48a8eac
rcutorture: Explicitly test synchronous grace-period primitives

The original rcu_torture_writer() avoided testing the synchronous
grace-period primitives because they were simply wrappers around
call_rcu() invocations.  The testing of these synchronous primitives
was delegated to the fake writers.  However, there really is no excuse
not to test them, especially in the case of SRCU, where the wrappering
is somewhat more elaborate.  This commit therefore makes the default
rcutorture parameters cause rcu_torture_writer() to include synchronous
grace-period primitives in its testing.

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