]> asedeno.scripts.mit.edu Git - linux.git/commit
rcu: Move rcu_nocb_gp_get() to ->gp_seq
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 28 Apr 2018 03:51:36 +0000 (20:51 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 12 Jul 2018 21:27:52 +0000 (14:27 -0700)
commite0da2374c3881cb9a512e2718f9ca655a48de9db
treeee45b80fe24d7f5c368878a00b1f2fdca0bd3519
parent03c8cb765a747c02fd8d3fade1efe9d529ad54bd
rcu: Move rcu_nocb_gp_get() to ->gp_seq

This commit makes rcu_try_advance_all_cbs() use ->gp_seq.  It uses
rcu_seq_ctr() in order to shift away the state bits, so that the
low-order bits of the result may safely be used to index ->nocb_gp_wq[].

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