aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorLi Lingfeng <[email protected]>2023-12-29 15:05:00 +0800
committerSong Liu <[email protected]>2024-02-05 15:23:58 -0800
commit9cfcf99e7ed613e6b3697e1c1034a24487ec3154 (patch)
treec13b5cef52ef3e3bf9d144abe0b48e778aeb433c /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentfaeaf210a559eb05bc1a294082d100d01c49a1e9 (diff)
md: get rdev->mddev with READ_ONCE()
Users may get rdev->mddev by sysfs while rdev is releasing. So use both READ_ONCE() and WRITE_ONCE() to prevent load/store tearing and to read/write mddev atomically. Signed-off-by: Li Lingfeng <[email protected]> Reviewed-by: Yu Kuai <[email protected]> Signed-off-by: Song Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions