mbox series

[0/3] Implement absolute value wait timeouts

Message ID cover.1722357468.git.asml.silence@gmail.com (mailing list archive)
Headers show
Series Implement absolute value wait timeouts | expand

Message

Pavel Begunkov July 30, 2024, 8:29 p.m. UTC
Patches 1-2 are cleaning up timing adjustments for napi busy
polling, and Patch 3 implements the feature.

Note, if we proceed with removing the busy polling adjustments
by the wait timeout, it'd make sense to merge that first and
then I'll resend the series.

Some tests I'll be sending later are here:

https://github.com/isilence/liburing.git abs-timeout

Pavel Begunkov (3):
  io_uring/napi: refactor __io_napi_busy_loop()
  io_uring/napi: delay napi timeout adjustment
  io_uring: add absolute mode wait timeouts

 include/uapi/linux/io_uring.h |  1 +
 io_uring/io_uring.c           | 14 ++++++-------
 io_uring/napi.c               | 37 ++++++++++-------------------------
 io_uring/napi.h               | 16 ---------------
 4 files changed, 18 insertions(+), 50 deletions(-)