summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-04-25 19:49:00 -0600
committerJens Axboe <axboe@kernel.dk>2022-04-30 08:39:54 -0600
commit3a4b89a25ce59a87fcfff1f030cba8d544fd402c (patch)
tree2af53035431195f4b74f47fb00a196ea89dda8d0 /tools/perf/scripts/python/export-to-postgresql.py
parente788be95a57a9bebe446878ce9bf2750f6fe4974 (diff)
io_uring: serialize ctx->rings->sq_flags with atomic_or/and
Rather than require ctx->completion_lock for ensuring that we don't clobber the flags, use the atomic bitop helpers instead. This removes the need to grab the completion_lock, in preparation for needing to set or clear sq_flags when we don't know the status of this lock. Reviewed-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/20220426014904.60384-3-axboe@kernel.dk 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