From: Pavel Begunkov <asml.silence@gmail.com>
To: io-uring@vger.kernel.org
Cc: asml.silence@gmail.com
Subject: [RFC 0/2] add timeouts for io_uring bpf-loop
Date: Tue, 2 Jun 2026 11:22:04 +0100 [thread overview]
Message-ID: <cover.1780395120.git.asml.silence@gmail.com> (raw)
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
next reply other threads:[~2026-06-02 10:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-02 10:22 Pavel Begunkov [this message]
2026-06-02 10:22 ` [RFC 1/2] io_uring/loop: add a structure for loop state Pavel Begunkov
2026-06-02 10:22 ` [RFC 2/2] io_uring/loop: introduce wait timeouts Pavel Begunkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1780395120.git.asml.silence@gmail.com \
--to=asml.silence@gmail.com \
--cc=io-uring@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox