diff options
| author | Paul E. McKenney <[email protected]> | 2019-12-23 03:32:54 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2020-02-21 00:01:11 +0000 |
| commit | 7ff8b4502bc0f576450d4ecbda97fa30e8002ed1 (patch) | |
| tree | 9f86c585fad2a69e0085e77448dbecbdc896e6be /Documentation/filesystems/caching | |
| parent | Linux 5.6-rc1 (diff) | |
| download | kernel-7ff8b4502bc0f576450d4ecbda97fa30e8002ed1.tar.gz kernel-7ff8b4502bc0f576450d4ecbda97fa30e8002ed1.zip | |
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 <[email protected]>
Diffstat (limited to 'Documentation/filesystems/caching')
0 files changed, 0 insertions, 0 deletions
