Skip to content
Commit 3ca3b0e2 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu: Add *_ONCE() to rcu_node ->boost_kthread_status



The rcu_node structure's ->boost_kthread_status field is accessed
locklessly, so this commit causes all updates to use WRITE_ONCE() and
all reads to use READ_ONCE().

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 2a2ae872
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment