aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/caching/netfs-api.rst
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2019-12-23 03:36:33 +0000
committerPaul E. McKenney <[email protected]>2020-02-21 00:01:11 +0000
commit8c9e0cb32315835825ea1ad725a858a2d2ce4a8e (patch)
tree288fea8145ada762e4ae66a9b8df71448f04095d /Documentation/filesystems/caching/netfs-api.rst
parentsrcu: Fix __call_srcu()/process_srcu() datarace (diff)
downloadkernel-8c9e0cb32315835825ea1ad725a858a2d2ce4a8e.tar.gz
kernel-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 <[email protected]>
Diffstat (limited to 'Documentation/filesystems/caching/netfs-api.rst')
0 files changed, 0 insertions, 0 deletions