diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-04-27 18:58:58 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-07-12 14:27:51 -0700 |
commit | e05720b0977bd50707ea6cf296f99e709de3f760 (patch) | |
tree | cb35054a71da32271b081567a8a5670b49b1e2dc /kernel | |
parent | a66ae8ae35de60a85d2d89689d8c2d6a4dc15d85 (diff) |
rcu: Move rcu_implicit_dynticks_qs() to ->gp_seq
This commit makes rcu_implicit_dynticks_qs() use ->gp_seq, with the
exception of tracing, which will be converted later.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/rcu/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index de2e2c5d64bb..b3af3d24286c 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c @@ -1178,7 +1178,7 @@ static int rcu_implicit_dynticks_qs(struct rcu_data *rdp) ruqp = per_cpu_ptr(&rcu_dynticks.rcu_urgent_qs, rdp->cpu); if (time_after(jiffies, rdp->rsp->gp_start + jtsq) && READ_ONCE(rdp->rcu_qs_ctr_snap) != per_cpu(rcu_dynticks.rcu_qs_ctr, rdp->cpu) && - READ_ONCE(rdp->gpnum) == rnp->gpnum && !rdp->gpwrap) { + rcu_seq_current(&rdp->gp_seq) == rnp->gp_seq && !rdp->gpwrap) { trace_rcu_fqs(rdp->rsp->name, rdp->gpnum, rdp->cpu, TPS("rqc")); rcu_gpnum_ovf(rnp, rdp); return 1; |