diff options
author | 2020-01-03 15:17:12 -0800 | |
---|---|---|
committer | 2020-02-20 15:58:22 -0800 | |
commit | 2906d2154cd6ad6e4452cc25315d3cea7bb7f2d7 (patch) | |
tree | 4cbf03a8df843b417949fd9fe4c3b7018f0fb9ef /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rcu: Add READ_ONCE() to rcu_node ->gp_seq (diff) | |
download | wireguard-linux-2906d2154cd6ad6e4452cc25315d3cea7bb7f2d7.tar.xz wireguard-linux-2906d2154cd6ad6e4452cc25315d3cea7bb7f2d7.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions