Skip to content

legacy provided buffer deprecation / deoptimisation

Pavel Begunkov io-uring 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8io_uring/kbuf: remove legacy kbuf bulk allocationio_uring/kbuf.c+5 -250 replies
2/8io_uring/kbuf: remove legacy kbuf kmem cacheio_uring/io_uring.c io_uring/io_uring.h io_uring/kbuf.c+2 -70 replies
3/8io_uring/kbuf: move locking into io_kbuf_drop()io_uring/io_uring.c io_uring/kbuf.h+3 -60 replies
4/8io_uring/kbuf: simplify __io_put_kbufio_uring/kbuf.c io_uring/kbuf.h+6 -270 replies
5/8io_uring/kbuf: remove legacy kbuf cachinginclude/linux/io_uring_types.h io_uring/io_uring.c io_uring/kbuf.c +1 more+9 -580 replies
6/8io_uring/kbuf: open code __io_put_kbuf()io_uring/kbuf.c io_uring/kbuf.h+1 -80 replies
7/8io_uring/kbuf: introduce io_kbuf_drop_legacy()io_uring/io_uring.c io_uring/kbuf.c io_uring/kbuf.h+13 -230 replies
8/8io_uring/kbuf: uninline __io_put_kbufsio_uring/kbuf.c io_uring/kbuf.h+70 -640 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by.

PatchPavel Begunkov
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8io_kbuf_commitSigned-off-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] legacy provided buffer deprecation / deoptimisation

Legacy provided buffers are slow and discouraged, users are encouraged to use ring provided buffers instead. Clean up the legacy code, remove caching and optimisations. The goal here it to make it simpler and less of a burden to maintain.

Pavel Begunkov (8):
io_uring/kbuf: remove legacy kbuf bulk allocation io_uring/kbuf: remove legacy kbuf kmem cache io_uring/kbuf: move locking into io_kbuf_drop() io_uring/kbuf: simplify __io_put_kbuf io_uring/kbuf: remove legacy kbuf caching io_uring/kbuf: open code __io_put_kbuf() io_uring/kbuf: introduce io_kbuf_drop_legacy() io_uring/kbuf: uninline __io_put_kbufs

 include/linux/io_uring_types.h |   3 -
 io_uring/io_uring.c            |  11 +--
 io_uring/io_uring.h            |   1 -
 io_uring/kbuf.c                | 172 +++++++++++++++------------------
 io_uring/kbuf.h                | 100 +++----------------
 5 files changed, 89 insertions(+), 198 deletions(-)
Signature · 1 line
2.47.1