summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2019-12-23 06:36:33 +0300
committerPaul E. McKenney <paulmck@kernel.org>2020-02-21 03:01:11 +0300
commit8c9e0cb32315835825ea1ad725a858a2d2ce4a8e (patch)
tree288fea8145ada762e4ae66a9b8df71448f04095d /tools/perf/scripts/python/syscall-counts-by-pid.py
parent7ff8b4502bc0f576450d4ecbda97fa30e8002ed1 (diff)
downloadlinux-8c9e0cb32315835825ea1ad725a858a2d2ce4a8e.tar.xz
srcu: Fix __call_srcu()/srcu_get_delay() datarace
The srcu_struct structure's ->srcu_gp_seq_needed_exp field is accessed locklessly, so updates must use WRITE_ONCE(). This commit therefore adds the needed WRITE_ONCE() invocations. 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/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions