diff options
author | 2019-12-22 19:36:33 -0800 | |
---|---|---|
committer | 2020-02-20 16:01:11 -0800 | |
commit | 8c9e0cb32315835825ea1ad725a858a2d2ce4a8e (patch) | |
tree | 288fea8145ada762e4ae66a9b8df71448f04095d /tools/perf/scripts/python/stackcollapse.py | |
parent | srcu: Fix __call_srcu()/process_srcu() datarace (diff) | |
download | linux-dev-8c9e0cb32315835825ea1ad725a858a2d2ce4a8e.tar.xz linux-dev-8c9e0cb32315835825ea1ad725a858a2d2ce4a8e.zip |
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions