rcutorture: Check from beginning to end of grace period
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 22 Nov 2014 01:10:16 +0000 (17:10 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 11 Jan 2015 03:08:02 +0000 (19:08 -0800)
commit917963d0b30f9c4153c372c165178501d97b6b55
treee7d7d5f6000521527ba8e094eb176ab8936b1e3f
parentf9103c390257d06c162d9e3c2a90d2bdedadfe17
rcutorture: Check from beginning to end of grace period

Currently, rcutorture's Reader Batch checks measure from the end of
the previous grace period to the end of the current one.  This commit
tightens up these checks by measuring from the start and end of the same
grace period.  This involves adding rcu_batches_started() and friends
corresponding to the existing rcu_batches_completed() and friends.

We leave SRCU alone for the moment, as it does not yet have a way of
tracking both ends of its grace periods.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/rcutiny.h
include/linux/rcutree.h
kernel/rcu/rcutorture.c
kernel/rcu/tree.c
kernel/rcu/tree_plugin.h