diff options
author | Yu Kuai <[email protected]> | 2023-10-10 23:19:41 +0800 |
---|---|---|
committer | Song Liu <[email protected]> | 2023-10-10 18:49:49 -0700 |
commit | 06a4d0d8c642b5ea654e832b74dca12965356da0 (patch) | |
tree | b5cd7c479a32b81fdeb7bdce31658192586e6589 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
parent | 617787f1386da5e851dad68926a31522134d352b (diff) |
md/raid5-cache: use READ_ONCE/WRITE_ONCE for 'conf->log'
'conf->log' is set with 'reconfig_mutex' grabbed, however, readers are
not procted, hence protect it with READ_ONCE/WRITE_ONCE to prevent
reading abnormal values.
Signed-off-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/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions