rcu: Move rcu_gp_in_progress() to ->gp_seq
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 28 Apr 2018 04:25:01 +0000 (21:25 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 12 Jul 2018 21:27:52 +0000 (14:27 -0700)
commitba04107fc901ddce49686944f7e038b4f0b0a359
tree35fc87701d5663661ee4f31558cfcfc40b4f59ac
parente0da2374c3881cb9a512e2718f9ca655a48de9db
rcu: Move rcu_gp_in_progress() to ->gp_seq

This commit makes rcu_gp_in_progress() use ->gp_seq instead of
->completed and ->gpnum.  The READ_ONCE() invocations are buried
in rcu_seq_current().

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c