Skip to content

poll cleanups and optimisations

Pavel Begunkov io-uring 2 versions Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 2 repliesApplied
  2. v16 patches 2 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6io_uring: clean poll ->private flaggingio_uring/poll.c+17 -30 replies
2/6io_uring: remove events caching atavismsio_uring/poll.c+8 -100 replies
3/6io_uring: add a helper for apoll allocio_uring/poll.c+28 -160 replies
4/6io_uring: change arm poll return valuesio_uring/poll.c+5 -20 replies
5/6io_uring: refactor poll arm error handlingio_uring/poll.c+21 -230 replies
6/6io_uring: optimise submission side poll_refsio_uring/poll.c+67 -210 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH for-next v2 0/6] poll cleanups and optimisations

1-5 are clean ups, can be considered separately.

6 optimises the final atomic_dec() in __io_arm_poll_handler(). Jens measured almost the same patch imrpoving some of the tests (netbench?) by ~1-1.5%.

v2: fix inverted EPOLLET check

Pavel Begunkov (6):
io_uring: clean poll ->private flagging
io_uring: remove events caching atavisms
io_uring: add a helper for apoll alloc
io_uring: change arm poll return values
io_uring: refactor poll arm error handling
io_uring: optimise submission side poll_refs

 io_uring/poll.c | 213 ++++++++++++++++++++++++++++++++----------------
 1 file changed, 142 insertions(+), 71 deletions(-)
Signature · 1 line
2.36.1