diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2019-12-23 06:32:54 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-02-21 03:01:11 +0300 |
commit | 7ff8b4502bc0f576450d4ecbda97fa30e8002ed1 (patch) | |
tree | 9f86c585fad2a69e0085e77448dbecbdc896e6be /tools/perf/scripts/python | |
parent | bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9 (diff) | |
download | linux-7ff8b4502bc0f576450d4ecbda97fa30e8002ed1.tar.xz |
srcu: Fix __call_srcu()/process_srcu() datarace
The srcu_node 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')
0 files changed, 0 insertions, 0 deletions