From: Pavel Begunkov <asml.silence@gmail.com>
To: io-uring@vger.kernel.org
Cc: asml.silence@gmail.com, axboe@kernel.dk
Subject: [PATCH 0/2] query infinite loop prevention
Date: Fri, 19 Sep 2025 12:11:55 +0100 [thread overview]
Message-ID: <cover.1758278680.git.asml.silence@gmail.com> (raw)
Allow users to kill the task while it's processing io_uring
queries, it specifically targets cases where the chain contains
a cycle that leads to an infinite loop. Also, limit the maximum
number of queries per call.
Pavel Begunkov (2):
io_uring/query: prevent infinite loops
io_uring/query: cap number of queries
io_uring/query.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
--
2.49.0
next reply other threads:[~2025-09-19 11:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-19 11:11 Pavel Begunkov [this message]
2025-09-19 11:11 ` [PATCH 1/2] io_uring/query: prevent infinite loops Pavel Begunkov
2025-09-19 11:11 ` [PATCH 2/2] io_uring/query: cap number of queries Pavel Begunkov
2025-09-19 13:06 ` [PATCH 0/2] query infinite loop prevention Jens Axboe
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.1758278680.git.asml.silence@gmail.com \
--to=asml.silence@gmail.com \
--cc=axboe@kernel.dk \
--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