summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree_exp.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-01-03 20:38:51 +0100
committerPaul E. McKenney <paulmck@kernel.org>2020-02-21 00:58:22 +0100
commit7672d647ddae37d2ea267159950bcc311e962434 (patch)
tree91c4c0ed6bd41b08b32a1146bd5e8dc5d3e7eaa3 /kernel/rcu/tree_exp.h
parentrcu: Provide debug symbols and line numbers in KCSAN runs (diff)
downloadlinux-7672d647ddae37d2ea267159950bcc311e962434.tar.xz
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