diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2025-09-19 14:11:57 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-09-19 16:06:43 +0300 |
commit | 7ea24326e72dad7cd326bedd8442c162ae23df9d (patch) | |
tree | 6e4c8de92490ec6f2c160e337e4bb0f317298c98 /include/linux/cacheflush.h | |
parent | 2408d1783204920880f929a7a3087c76f5a59c13 (diff) | |
download | linux-7ea24326e72dad7cd326bedd8442c162ae23df9d.tar.xz |
io_uring/query: cap number of queries
If a query chain forms a cycle, it'll be looping in the kernel until the
process is killed. It might be fine as any such mistake can be easily
uncovered during testing, but it's still nicer to let it break out of
the syscall if it executed too many queries.
Suggested-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/cacheflush.h')
0 files changed, 0 insertions, 0 deletions