diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2019-12-23 06:36:33 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-02-21 03:01:11 +0300 |
commit | 8c9e0cb32315835825ea1ad725a858a2d2ce4a8e (patch) | |
tree | 288fea8145ada762e4ae66a9b8df71448f04095d /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 7ff8b4502bc0f576450d4ecbda97fa30e8002ed1 (diff) | |
download | linux-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