From: Jens Axboe <axboe@kernel.dk>
To: io-uring@vger.kernel.org
Subject: [PATCHSET 0/2] io_rsrc_node cleanups
Date: Sun, 3 Nov 2024 10:47:40 -0700 [thread overview]
Message-ID: <20241103174918.76256-1-axboe@kernel.dk> (raw)
Hi,
Nothing major here - just a patch reclaiming a bit of space in struct
io_rsrc_node. Nothing that yields anything yet, but may as well free
up the 'type' to have more future room.
2nd patch reclaims 8b from struct io_kiocb, by taking advantage of the
fact that provided and registered buffers cannot currently be used
together. This may change in the future, but it's true for now.
include/linux/io_uring_types.h | 7 ++++++-
io_uring/io_uring.c | 6 +++---
io_uring/net.c | 3 ++-
io_uring/nop.c | 3 ++-
io_uring/notif.c | 4 ++--
io_uring/rsrc.c | 11 +++++------
io_uring/rsrc.h | 31 +++++++++++++++++++++++--------
io_uring/rw.c | 3 ++-
io_uring/uring_cmd.c | 4 ++--
9 files changed, 47 insertions(+), 25 deletions(-)
--
Jens Axboe
next reply other threads:[~2024-11-03 17:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-03 17:47 Jens Axboe [this message]
2024-11-03 18:03 ` [PATCHSET 0/2] io_rsrc_node cleanups Jens Axboe
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=20241103174918.76256-1-axboe@kernel.dk \
--to=axboe@kernel.dk \
--cc=io-uring@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.