diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-01-03 11:38:51 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-02-20 15:58:22 -0800 |
commit | 7672d647ddae37d2ea267159950bcc311e962434 (patch) | |
tree | 91c4c0ed6bd41b08b32a1146bd5e8dc5d3e7eaa3 /kernel/rcu/tree_exp.h | |
parent | 8a7e8f51714004112a0bbbf751f3dd0fcbbbc983 (diff) | |
download | linux-7672d647ddae37d2ea267159950bcc311e962434.tar.gz linux-7672d647ddae37d2ea267159950bcc311e962434.tar.bz2 linux-7672d647ddae37d2ea267159950bcc311e962434.zip |
rcu: Add WRITE_ONCE() to rcu_node ->qsmask update
The rcu_node structure's ->qsmask 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.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/rcu/tree_exp.h')
0 files changed, 0 insertions, 0 deletions