]> asedeno.scripts.mit.edu Git - linux.git/commit
rcu: Move rcu_gp_slow() to ->gp_seq
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 26 Apr 2018 22:30:28 +0000 (15:30 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 12 Jul 2018 21:27:46 +0000 (14:27 -0700)
commitdee4f42298bba030e84035aca5c114f9fee8fa6a
tree03772e489044e5201bde458fea482e0664c01b15
parentde30ad512a668b56e7ad7a5a7c379d7c5d138a94
rcu: Move rcu_gp_slow() to ->gp_seq

This commit moves rcu_gp_slow() to ->gp_seq.  This function only uses
the grace-period number to modulate delay, so rcu_seq_ctr(rsp->gp_seq)
gets the same effect, at least in cases where the delay is to happen
more than four times per wrap of an unsigned long.

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