[RFC 0/2] add timeouts for io_uring bpf-loop

Pavel Begunkov <[email protected]>
Newsgroups org.kernel.vger.io-uring
Message-ID <[email protected]>
The BPF ops should be able to set timeout while waiting for CQEs,
this series implements one approach. I'm keeping it as an RFC as
I'm pondering at a slightly different and hopefully more performant
ways of achieving it.

Pavel Begunkov (2):
  io_uring/loop: add a structure for loop state
  io_uring/loop: introduce wait timeouts

 io_uring/bpf-ops.c |  6 ++++++
 io_uring/loop.c    | 37 +++++++++++++++++++++++++++++++------
 io_uring/loop.h    | 14 ++++++++++++++
 3 files changed, 51 insertions(+), 6 deletions(-)

-- 
2.54.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.