Skip to content

io_rsrc_node cleanups

Jens Axboe io-uring 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 1 replyIn review

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCHSET 0/2] io_rsrc_node cleanups

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(-)
Signature · 1 line
Jens Axboe