Message ID | 20221019224659.2499511-8-paulmck@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 284262291f948aa4e0e3b894c43b551ba5a4b232 |
Headers | show |
Series | Miscellaneous fixes for v6.2 | expand |
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index f6561aa401c04..1e1d333d07ffe 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c @@ -2410,7 +2410,7 @@ void rcu_force_quiescent_state(void) struct rcu_node *rnp_old = NULL; /* Funnel through hierarchy to reduce memory contention. */ - rnp = __this_cpu_read(rcu_data.mynode); + rnp = raw_cpu_read(rcu_data.mynode); for (; rnp != NULL; rnp = rnp->parent) { ret = (READ_ONCE(rcu_state.gp_flags) & RCU_GP_FLAG_FQS) || !raw_spin_trylock(&rnp->fqslock);