summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorTaehee Yoo <ap420073@gmail.com>2022-07-17 16:09:05 +0000
committerPaolo Abeni <pabeni@redhat.com>2022-07-19 12:37:02 +0200
commit928f353cb8672f0d6078aad75eeec0ed33875b12 (patch)
tree737f628a1b97aa91a61be68c10865d9b454ca384 /tools/perf/scripts/python/mem-phys-addr.py
parent9c343ea6185febe5f6b74f7f7b3757f3dd9c5af6 (diff)
downloadlinux-928f353cb8672f0d6078aad75eeec0ed33875b12.tar.bz2
amt: use READ_ONCE() in amt module
There are some data races in the amt module. amt->ready4, amt->ready6, and amt->status can be accessed concurrently without locks. So, it uses READ_ONCE() and WRITE_ONCE(). Fixes: cbc21dc1cfe9 ("amt: add data plane of amt interface") Signed-off-by: Taehee Yoo <ap420073@gmail.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions