From: Keith Busch <kbusch@meta.com>
To: <axboe@kernel.dk>, <io-uring@vger.kernel.org>
Cc: Keith Busch <kbusch@kernel.org>
Subject: [RFC PATCH 0/1] io_uring: mixed sqe support
Date: Fri, 29 Aug 2025 12:39:32 -0700 [thread overview]
Message-ID: <20250829193935.1910175-1-kbusch@meta.com> (raw)
From: Keith Busch <kbusch@kernel.org>
The CQ supports mixed size entries, so why not do it for SQ's too? There
are use cases that currently allocate different queues just to keep
these things separated, but we can efficiently handle both cases in a
single ring.
This RFC is taking the last SQE flags bit for the purpose. That might
not be okay, but serves as a proof of concept for a first look.
Keith Busch (1):
io_uring: add support for IORING_SETUP_SQE_MIXED
include/uapi/linux/io_uring.h | 9 +++++++++
io_uring/fdinfo.c | 21 ++++++++++-----------
io_uring/io_uring.c | 15 ++++++++++++++-
3 files changed, 33 insertions(+), 12 deletions(-)
--
2.47.3
next reply other threads:[~2025-08-29 19:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-29 19:39 Keith Busch [this message]
2025-08-29 19:39 ` [RFC PATCH liburing 1/2] Add support IORING_SETUP_SQE_MIXED Keith Busch
2025-08-29 19:39 ` [RFC PATCH 1/1] io_uring: add support for IORING_SETUP_SQE_MIXED Keith Busch
2025-08-29 21:29 ` Caleb Sander Mateos
2025-09-02 18:03 ` Keith Busch
2025-08-29 19:39 ` [RFC PATCH liburing 2/2] Add nop testing " Keith Busch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250829193935.1910175-1-kbusch@meta.com \
--to=kbusch@meta.com \
--cc=axboe@kernel.dk \
--cc=io-uring@vger.kernel.org \
--cc=kbusch@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox