diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-01-08 20:12:59 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-01-10 14:10:19 -0800 |
commit | bead35304881355a255a1fcf94a317079d1b04c7 (patch) | |
tree | 3c4ea0fa40fec262c3763d85948d57e328d2f331 /tools | |
parent | 5aaa108cd28695e549ad74b77d22c84aab02eaa4 (diff) | |
download | linux-next-bead35304881355a255a1fcf94a317079d1b04c7.tar.gz |
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: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions