aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2023-10-10 23:19:40 +0800
committerSong Liu <song@kernel.org>2023-10-10 18:49:49 -0700
commit617787f1386da5e851dad68926a31522134d352b (patch)
tree51f926ec5ca0fa5cae444390d5c5ffe47938ea63 /tools/perf/scripts/python
parentmd/raid1: don't split discard io for write behind (diff)
downloadwireguard-linux-617787f1386da5e851dad68926a31522134d352b.tar.xz
wireguard-linux-617787f1386da5e851dad68926a31522134d352b.zip
md: use READ_ONCE/WRITE_ONCE for 'suspend_lo' and 'suspend_hi'
Protect 'suspend_lo' and 'suspend_hi' with READ_ONCE/WRITE_ONCE to prevent reading abnormal values. Signed-off-by: Yu Kuai <yukuai3@huawei.com> Signed-off-by: Song Liu <song@kernel.org> Link: https://lore.kernel.org/r/20231010151958.145896-2-yukuai1@huaweicloud.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions