Skip to content

query infinite loop prevention

Pavel Begunkov io-uring 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2io_uring/query: prevent infinite loopsio_uring/query.c+4 -00 replies
2/2io_uring/query: cap number of queriesio_uring/query.c+5 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] query infinite loop prevention

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(-)
Signature · 1 line
2.49.0