aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.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/export-to-postgresql.py
parentamt: remove unnecessary locks (diff)
downloadlinux-dev-928f353cb8672f0d6078aad75eeec0ed33875b12.tar.xz
linux-dev-928f353cb8672f0d6078aad75eeec0ed33875b12.zip
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions