srcu: Make rcutorture writer stalls print SRCU GP state
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 19 Apr 2017 00:17:35 +0000 (17:17 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 26 Apr 2017 18:23:28 +0000 (11:23 -0700)
commit7f6733c3c648ddd6cf459c1b80ad388a95452955
tree2d463d3a2c5b47f3bfb7098e1000ad043ed0842f
parentc7e88067c1ae89e7bcbed070fb2c4e30bc39b51f
srcu: Make rcutorture writer stalls print SRCU GP state

In the past, SRCU was simple enough that there was little point in
making the rcutorture writer stall messages print the SRCU grace-period
number state.  With the advent of Tree SRCU, this has changed.  This
commit therefore makes Classic, Tiny, and Tree SRCU report this state
to rcutorture as needed.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Mike Galbraith <efault@gmx.de>
include/linux/srcuclassic.h
include/linux/srcutiny.h
include/linux/srcutree.h
kernel/rcu/rcutorture.c
kernel/rcu/srcutree.c
kernel/rcu/tree.c