mbox series

[0/8] alloc cache and iovec assorted cleanups

Message ID cover.1738087204.git.asml.silence@gmail.com (mailing list archive)
Headers show
Series alloc cache and iovec assorted cleanups | expand

Message

Pavel Begunkov Jan. 28, 2025, 8:56 p.m. UTC
A bunch of patches cleaning allocation caches and various bits
related to io vectors.

Pavel Begunkov (8):
  io_uring: include all deps for alloc_cache.h
  io_uring: dont ifdef io_alloc_cache_kasan()
  io_uring: add alloc_cache.c
  io_uring/net: make io_net_vec_assign() return void
  io_uring/net: clean io_msg_copy_hdr()
  io_uring/net: extract io_send_select_buffer()
  io_uring: remove !KASAN guards from cache free
  io_uring/rw: simplify io_rw_recycle()

 io_uring/Makefile      |   2 +-
 io_uring/alloc_cache.c |  44 +++++++++++++++++
 io_uring/alloc_cache.h |  60 +++++++----------------
 io_uring/net.c         | 105 +++++++++++++++++++++++------------------
 io_uring/rw.c          |  18 ++-----
 5 files changed, 123 insertions(+), 106 deletions(-)
 create mode 100644 io_uring/alloc_cache.c

Comments

Gabriel Krisman Bertazi Jan. 28, 2025, 9:59 p.m. UTC | #1
Pavel Begunkov <asml.silence@gmail.com> writes:

> A bunch of patches cleaning allocation caches and various bits
> related to io vectors.

Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de>

>
> Pavel Begunkov (8):
>   io_uring: include all deps for alloc_cache.h
>   io_uring: dont ifdef io_alloc_cache_kasan()
>   io_uring: add alloc_cache.c
>   io_uring/net: make io_net_vec_assign() return void
>   io_uring/net: clean io_msg_copy_hdr()
>   io_uring/net: extract io_send_select_buffer()
>   io_uring: remove !KASAN guards from cache free
>   io_uring/rw: simplify io_rw_recycle()
>
>  io_uring/Makefile      |   2 +-
>  io_uring/alloc_cache.c |  44 +++++++++++++++++
>  io_uring/alloc_cache.h |  60 +++++++----------------
>  io_uring/net.c         | 105 +++++++++++++++++++++++------------------
>  io_uring/rw.c          |  18 ++-----
>  5 files changed, 123 insertions(+), 106 deletions(-)
>  create mode 100644 io_uring/alloc_cache.c
Jens Axboe Jan. 28, 2025, 10:42 p.m. UTC | #2
On Tue, 28 Jan 2025 20:56:08 +0000, Pavel Begunkov wrote:
> A bunch of patches cleaning allocation caches and various bits
> related to io vectors.
> 
> Pavel Begunkov (8):
>   io_uring: include all deps for alloc_cache.h
>   io_uring: dont ifdef io_alloc_cache_kasan()
>   io_uring: add alloc_cache.c
>   io_uring/net: make io_net_vec_assign() return void
>   io_uring/net: clean io_msg_copy_hdr()
>   io_uring/net: extract io_send_select_buffer()
>   io_uring: remove !KASAN guards from cache free
>   io_uring/rw: simplify io_rw_recycle()
> 
> [...]

Applied, thanks!

[1/8] io_uring: include all deps for alloc_cache.h
      commit: 299276502d41cd86376f47b7e087d017eaa0f914
[2/8] io_uring: dont ifdef io_alloc_cache_kasan()
      commit: 16ac51a0a7aa051fd3b82fa077597488b5572d41
[3/8] io_uring: add alloc_cache.c
      commit: d19af0e9366298aa60afc0fb51ffcbd6205edcee
[4/8] io_uring/net: make io_net_vec_assign() return void
      commit: fefcb0dcd02fd34f808e91b13ce25f9847e52eb9
[5/8] io_uring/net: clean io_msg_copy_hdr()
      commit: 2b350f756b7acf84afab31d65ce6e3d496213ae5
[6/8] io_uring/net: extract io_send_select_buffer()
      commit: 86e62354eef16993834be5bd218d38ec96c47f16
[7/8] io_uring: remove !KASAN guards from cache free
      commit: 0d124578fed92cadeaca47d734da782beacdc1a7
[8/8] io_uring/rw: simplify io_rw_recycle()
      commit: d1fdab8c06791945d9454fb430951533eba9e175

Best regards,