[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166441802135.18961.14047192093792393033.git-patchwork-notify@kernel.org>
Date: Thu, 29 Sep 2022 02:20:21 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Pavel Begunkov <asml.silence@...il.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
linux-kernel@...r.kernel.org, xen-devel@...ts.xenproject.org,
wei.liu@...nel.org, paul@....org, kvm@...r.kernel.org,
virtualization@...ts.linux-foundation.org, mst@...hat.com,
jasowang@...hat.com
Subject: Re: [PATCH net-next 0/4] shrink struct ubuf_info
Hello:
This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Fri, 23 Sep 2022 17:39:00 +0100 you wrote:
> struct ubuf_info is large but not all fields are needed for all
> cases. We have limited space in io_uring for it and large ubuf_info
> prevents some struct embedding, even though we use only a subset
> of the fields. It's also not very clean trying to use this typeless
> extra space.
>
> Shrink struct ubuf_info to only necessary fields used in generic paths,
> namely ->callback, ->refcnt and ->flags, which take only 16 bytes. And
> make MSG_ZEROCOPY and some other users to embed it into a larger struct
> ubuf_info_msgzc mimicking the former ubuf_info.
>
> [...]
Here is the summary with links:
- [net-next,1/4] net: introduce struct ubuf_info_msgzc
https://git.kernel.org/netdev/net-next/c/6eaab4dfdd30
- [net-next,2/4] xen/netback: use struct ubuf_info_msgzc
https://git.kernel.org/netdev/net-next/c/b63ca3e822e7
- [net-next,3/4] vhost/net: use struct ubuf_info_msgzc
https://git.kernel.org/netdev/net-next/c/dfff202be5ea
- [net-next,4/4] net: shrink struct ubuf_info
https://git.kernel.org/netdev/net-next/c/e7d2b510165f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists