summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-01-20 15:29:04 -0800
committerPaul E. McKenney <paulmck@kernel.org>2020-02-20 15:58:23 -0800
commit59881bcd85a06565c53fd13ce3b0ad7fa55e560c (patch)
tree675ba755b0405c7967b28e4235c56eca27a7f699 /tools/perf/scripts/python
parent57721fd15a02f7df9dad1f3cca27f21e03ee118f (diff)
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 <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions