diff options
| author | Paul E. McKenney <paulmck@kernel.org> | 2020-01-04 11:33:17 -0800 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@kernel.org> | 2020-02-20 15:58:22 -0800 |
| commit | 8ff37290d6622e130553a38ec2662a728e46cdba (patch) | |
| tree | 5e44a2a33b07485e0657433245613c0c1692fbce /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | rcu: Add READ_ONCE() to rcu_segcblist ->tails[] (diff) | |
| download | linux-8ff37290d6622e130553a38ec2662a728e46cdba.tar.gz linux-8ff37290d6622e130553a38ec2662a728e46cdba.zip | |
rcu: Add *_ONCE() for grace-period progress indicators
The various RCU structures' ->gp_seq, ->gp_seq_needed, ->gp_req_activity,
and ->gp_activity fields are read locklessly, so they must be updated with
WRITE_ONCE() and, when read locklessly, with READ_ONCE(). This commit makes
these changes.
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/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
