summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlmog Khaikin <almogkh@gmail.com>2022-04-26 19:34:03 +0300
committerJens Axboe <axboe@kernel.dk>2022-04-30 08:39:54 -0600
commitf2e030dd7aaea5a937a2547dc980fab418fbc5e7 (patch)
tree23c92eed18bed2eb641ec38b14c87074faf4c599 /tools/perf/scripts/python/export-to-postgresql.py
parentef060ea9e4fd3b763e7060a3af0a258d2d5d7c0d (diff)
io_uring: replace smp_mb() with smp_mb__after_atomic() in io_sq_thread()
The IORING_SQ_NEED_WAKEUP flag is now set using atomic_or() which implies a full barrier on some architectures but it is not required to do so. Use the more appropriate smp_mb__after_atomic() which avoids the extra barrier on those architectures. Signed-off-by: Almog Khaikin <almogkh@gmail.com> Link: https://lore.kernel.org/r/20220426163403.112692-1-almogkh@gmail.com Fixes: 8018823e6987 ("io_uring: serialize ctx->rings->sq_flags with atomic_or/and") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions