aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2020-01-06 19:59:58 +0000
committerPaul E. McKenney <[email protected]>2020-02-21 00:00:45 +0000
commitfcb7381265e6cceb1d54283878d145db52b9d9d7 (patch)
tree15e2312520978a9d75c899589dee35dd57026896 /tools/perf/scripts/python/event_analyzing_sample.py
parentLinux 5.6-rc1 (diff)
downloadkernel-fcb7381265e6cceb1d54283878d145db52b9d9d7.tar.gz
kernel-fcb7381265e6cceb1d54283878d145db52b9d9d7.zip
rcu-tasks: *_ONCE() for rcu_tasks_cbs_head
The RCU tasks list of callbacks, rcu_tasks_cbs_head, is sampled locklessly by rcu_tasks_kthread() when waiting for work to do. This commit therefore applies READ_ONCE() to that lockless sampling and WRITE_ONCE() to the single potential store outside of rcu_tasks_kthread. 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