diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-01-08 20:12:59 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-02-20 15:58:22 -0800 |
commit | 3ca3b0e2cbe0050d1777a22b7fc13cad620eb2ba (patch) | |
tree | 49721ba89164cdb071ddadfec90152f6632a2e40 /kernel/time | |
parent | 2a2ae872ef7aa958f2152b8b24c6e94cf5f1d0df (diff) |
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 'kernel/time')
0 files changed, 0 insertions, 0 deletions