public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] query infinite loop prevention
@ 2025-09-19 11:11 Pavel Begunkov
  2025-09-19 11:11 ` [PATCH 1/2] io_uring/query: prevent infinite loops Pavel Begunkov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Pavel Begunkov @ 2025-09-19 11:11 UTC (permalink / raw)
  To: io-uring; +Cc: asml.silence, axboe

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-09-19 13:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-19 11:11 [PATCH 0/2] query infinite loop prevention Pavel Begunkov
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox