aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2019-12-22 19:36:33 -0800
committerPaul E. McKenney <paulmck@kernel.org>2020-02-20 16:01:11 -0800
commit8c9e0cb32315835825ea1ad725a858a2d2ce4a8e (patch)
tree288fea8145ada762e4ae66a9b8df71448f04095d /scripts/bpf_helpers_doc.py
parent7ff8b4502bc0f576450d4ecbda97fa30e8002ed1 (diff)
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 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions