Files
linux-stable-mirror/include/uapi/linux
Pavel Begunkov 5247c034a6 io_uring: introduce non-circular SQ
Outside of SQPOLL, normally SQ entries are consumed by the time the
submission syscall returns. For those cases we don't need a circular
buffer and the head/tail tracking, instead the kernel can assume that
entries always start from the beginning of the SQ at index 0. This patch
introduces a setup flag doing exactly that. It's a simpler and helps
to keeps SQEs hot in cache.

The feature is optional and enabled by setting IORING_SETUP_SQ_REWIND.
The flag is rejected if passed together with SQPOLL as it'd require
waiting for SQ before each submission. It also requires
IORING_SETUP_NO_SQARRAY, which can be supported but it's unlikely there
will be users, so leave more space for future optimisations.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2026-01-22 15:47:23 -07:00
..
2025-11-24 21:56:17 +01:00
2025-10-28 22:59:19 +01:00
2025-11-25 19:20:42 -08:00
2025-11-05 08:07:21 -07:00
2025-11-24 17:52:11 +01:00
2025-11-24 17:52:11 +01:00
2025-11-29 21:39:58 +09:00
2025-12-18 21:34:42 -08:00
2026-01-22 15:47:23 -07:00
2025-12-05 23:16:26 +00:00
2025-11-03 17:41:18 +01:00
2025-10-30 14:25:14 +01:00
2025-11-25 19:20:42 -08:00
2025-11-04 08:30:09 +01:00
2025-09-21 17:44:20 -04:00
2025-09-22 09:29:28 +01:00
2025-11-30 18:02:43 -05:00
2025-09-22 09:29:29 +01:00