Skip to content
Commit 24bb9ecc authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu: Fix exp_funnel_lock()/rcu_exp_wait_wake() datarace



The rcu_node structure's ->exp_seq_rq field is accessed locklessly, so
updates must use WRITE_ONCE().  This commit therefore adds the needed
WRITE_ONCE() invocation where it was missed.

This data race was reported by KCSAN.  Not appropriate for backporting
due to failure being unlikely.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 82dd8419
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment