diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-01-03 15:17:12 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-02-20 15:58:22 -0800 |
commit | 2906d2154cd6ad6e4452cc25315d3cea7bb7f2d7 (patch) | |
tree | 4cbf03a8df843b417949fd9fe4c3b7018f0fb9ef /certs/Kconfig | |
parent | 0937d045732b5dd5e5df1fb6355d5f4e01f3c4d7 (diff) |
rcu: Add WRITE_ONCE() to rcu_state ->gp_req_activity
The rcu_state structure's ->gp_req_activity 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 'certs/Kconfig')
0 files changed, 0 insertions, 0 deletions