diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-03-17 02:03:41 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-03-16 20:26:32 -0600 |
commit | 9333f6b4628c8037a89ed23e1188d4b7dc5d74e4 (patch) | |
tree | 49d6f590d4f9d77b8090ce944ac440e53dfc578c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 66fc25ca6b7ec4124606e0d59c71c6bcf14e05bb (diff) |
io_uring: thin down io_commit_cqring()
io_commit_cqring() is currently always under spinlock section, so it's
always better to keep it as slim as possible. Move
__io_commit_cqring_flush() out of it into ev_posted*(). If fast checks
do fail and this post-processing is required, we'll reacquire
->completion_lock, which is fine as we don't care about performance of
draining and offset timeouts.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/ec4e81fd720d3bc7bca8cb9152e080dad1a052f1.1647481208.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions