Skip to content

further optimise drain

Pavel Begunkov io-uring 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3io_uring: switch !DRAIN fast path when possiblefs/io_uring.c+8 -60 replies
2/3io_uring: shove more drain bits out of hot pathfs/io_uring.c+22 -200 replies
3/3io_uring: optimise io_commit_cqring()fs/io_uring.c+11 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH for-next 0/3] further optimise drain

On top of "[PATCH 5.14 00/12] for-next optimisations"

The first two further optimise non-drain and rare-drain cases, so the overhead of it on the hot/generic path is minimal. With those, I'm more or less happy about draining.

3/3 inlines io_commit_cqring(). I didn't want to bloat the binary with it before, but now the hot path is shrinked enough.

Pavel Begunkov (3):
io_uring: switch !DRAIN fast path when possible
io_uring: shove more drain bits out of hot path
io_uring: optimise io_commit_cqring()

 fs/io_uring.c | 68 ++++++++++++++++++++++++++++-----------------------
 1 file changed, 38 insertions(+), 30 deletions(-)
Signature · 1 line
2.31.1