diff options
| author | Paul E. McKenney <[email protected]> | 2019-12-23 03:39:35 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2020-02-21 00:01:11 +0000 |
| commit | 39f91504a03a7a2abdb52205106942fa4a548d0d (patch) | |
| tree | 21148b0b3bd1e4c676a50e9414e5a919fd85350c /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | srcu: Fix __call_srcu()/srcu_get_delay() datarace (diff) | |
| download | kernel-39f91504a03a7a2abdb52205106942fa4a548d0d.tar.gz kernel-39f91504a03a7a2abdb52205106942fa4a548d0d.zip | |
srcu: Fix process_srcu()/srcu_batches_completed() datarace
The srcu_struct structure's ->srcu_idx field is accessed locklessly,
so reads must use READ_ONCE(). This commit therefore adds the needed
READ_ONCE() invocation where it was missed.
This data race was reported by KCSAN. Not appropriate for backporting
due to failure being unlikely.
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
