diff options
author | Pavel Begunkov <[email protected]> | 2022-03-17 02:03:41 +0000 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-03-16 20:26:32 -0600 |
commit | 9333f6b4628c8037a89ed23e1188d4b7dc5d74e4 (patch) | |
tree | 49d6f590d4f9d77b8090ce944ac440e53dfc578c /drivers/gpu/drm/imx/parallel-display.c | |
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 <[email protected]>
Link: https://lore.kernel.org/r/ec4e81fd720d3bc7bca8cb9152e080dad1a052f1.1647481208.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/imx/parallel-display.c')
0 files changed, 0 insertions, 0 deletions