mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
io_uring: improve poll completion performance
For busy IORING_OP_POLL_ADD workloads, we can have enough contention on the completion lock that we fail the inline completion path quite often as we fail the trylock on that lock. Add a list for deferred completions that we can use in that case. This helps reduce the number of async offloads we have to do, as if we get multiple completions in a row, we'll piggy back on to the poll_llist instead of having to queue our own offload. Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
ad3eb2c89f
commit
e94f141bd2
1 changed files with 88 additions and 20 deletions
108
fs/io_uring.c
108
fs/io_uring.c
Loading…
Add table
Add a link
Reference in a new issue