diff options
| author | Paul E. McKenney <[email protected]> | 2020-01-20 23:29:04 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2020-02-20 23:58:23 +0000 |
| commit | 59881bcd85a06565c53fd13ce3b0ad7fa55e560c (patch) | |
| tree | 675ba755b0405c7967b28e4235c56eca27a7f699 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | rcu: Remove dead code from rcu_segcblist_insert_pend_cbs() (diff) | |
| download | kernel-59881bcd85a06565c53fd13ce3b0ad7fa55e560c.tar.gz kernel-59881bcd85a06565c53fd13ce3b0ad7fa55e560c.zip | |
rcu: Add WRITE_ONCE() to rcu_state ->gp_start
The rcu_state structure's ->gp_start 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 <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
