mbox series

[for-next,0/6] poll cleanups and optimisations

Message ID cover.1655976119.git.asml.silence@gmail.com (mailing list archive)
Headers show
Series poll cleanups and optimisations | expand

Message

Pavel Begunkov June 23, 2022, 9:34 a.m. UTC
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%.

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(-)