summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
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/gecko.py
parent9e55a22fce1384837c213274d1a3b93be16ed9d7 (diff)
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/gecko.py')
0 files changed, 0 insertions, 0 deletions