commit | 7672d647ddae37d2ea267159950bcc311e962434 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@kernel.org> | Fri Jan 03 11:38:51 2020 -0800 |
committer | Paul E. McKenney <paulmck@kernel.org> | Thu Feb 20 15:58:22 2020 -0800 |
tree | 91c4c0ed6bd41b08b32a1146bd5e8dc5d3e7eaa3 | |
parent | 8a7e8f51714004112a0bbbf751f3dd0fcbbbc983 [diff] |
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>