public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Introduce non circular SQ
@ 2025-10-14 10:58 Pavel Begunkov
  2025-10-14 10:58 ` [PATCH 1/2] io_uring: check for user passing 0 nr_submit Pavel Begunkov
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Pavel Begunkov @ 2025-10-14 10:58 UTC (permalink / raw)
  To: io-uring; +Cc: asml.silence

Add a feature that makes the kernel to ignore SQ head/tail and
always start fetching SQ entries from index 0, which helps to
keep caches hot. See Patch 2 for more details.

liburing support:
https://github.com/isilence/liburing.git sq-rewind

Tested by forcing liburing to enable the flag for compatible setups.

Pavel Begunkov (2):
  io_uring: check for user passing 0 nr_submit
  io_uring: introduce non-circular SQ

 include/uapi/linux/io_uring.h |  6 ++++++
 io_uring/io_uring.c           | 34 +++++++++++++++++++++++++---------
 io_uring/io_uring.h           |  3 ++-
 3 files changed, 33 insertions(+), 10 deletions(-)

-- 
2.49.0


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

end of thread, other threads:[~2025-10-16 11:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-14 10:58 [PATCH 0/2] Introduce non circular SQ Pavel Begunkov
2025-10-14 10:58 ` [PATCH 1/2] io_uring: check for user passing 0 nr_submit Pavel Begunkov
2025-10-14 10:58 ` [PATCH 2/2] io_uring: introduce non-circular SQ Pavel Begunkov
2025-10-14 17:21   ` Jens Axboe
2025-10-14 18:58     ` Pavel Begunkov
2025-10-14 18:37   ` Caleb Sander Mateos
2025-10-14 19:26     ` Pavel Begunkov
2025-10-14 19:46       ` Caleb Sander Mateos
2025-10-16 11:38         ` Pavel Begunkov
2025-10-14 15:05 ` [PATCH 0/2] Introduce non circular SQ Jens Axboe
2025-10-14 16:02   ` Pavel Begunkov
2025-10-14 16:08     ` Pavel Begunkov
2025-10-14 17:19       ` Jens Axboe

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