diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-01-03 15:44:23 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-02-20 15:58:22 -0800 |
commit | 105abf82b0a62664edabcd4c5b4d9414c74ef399 (patch) | |
tree | cb1adde397babb2e7c1b810f8380a204798d29de /kernel/locking/rtmutex.c | |
parent | 2906d2154cd6ad6e4452cc25315d3cea7bb7f2d7 (diff) |
rcu: Add WRITE_ONCE() to rcu_node ->qsmaskinitnext
The rcu_state structure's ->qsmaskinitnext field is read locklessly,
so this commit adds the WRITE_ONCE() to an update in order to provide
proper documentation and READ_ONCE()/WRITE_ONCE() pairing.
This data race was reported by KCSAN. Not appropriate for backporting
due to failure being unlikely for systems not doing incessant CPU-hotplug
operations.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/locking/rtmutex.c')
0 files changed, 0 insertions, 0 deletions