From: patchwork-bot+netdevbpf@kernel.org
To: Pavel Begunkov <asml.silence@gmail.com>
Cc: netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org,
linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org,
wei.liu@kernel.org, paul@xen.org, kvm@vger.kernel.org,
virtualization@lists.linux-foundation.org, mst@redhat.com,
jasowang@redhat.com
Subject: Re: [PATCH net-next 0/4] shrink struct ubuf_info
Date: Thu, 29 Sep 2022 02:20:21 +0000 [thread overview]
Message-ID: <166441802135.18961.14047192093792393033.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <cover.1663892211.git.asml.silence@gmail.com>
Hello:
This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.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
prev parent reply other threads:[~2022-09-29 2:20 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-23 16:39 [PATCH net-next 0/4] shrink struct ubuf_info Pavel Begunkov
2022-09-23 16:39 ` [PATCH net-next 1/4] net: introduce struct ubuf_info_msgzc Pavel Begunkov
2022-09-23 16:39 ` [PATCH net-next 2/4] xen/netback: use " Pavel Begunkov
2022-09-23 16:39 ` [PATCH net-next 3/4] vhost/net: " Pavel Begunkov
2022-09-23 16:39 ` [PATCH net-next 4/4] net: shrink struct ubuf_info Pavel Begunkov
2022-09-27 13:49 ` [PATCH net-next 0/4] " Paolo Abeni
2022-09-27 14:28 ` Pavel Begunkov
2022-09-27 17:16 ` Pavel Begunkov
2022-09-27 17:56 ` Paolo Abeni
2022-09-27 18:48 ` Pavel Begunkov
2022-09-27 19:59 ` Paolo Abeni
2022-09-27 20:17 ` Pavel Begunkov
2022-09-27 20:23 ` Paolo Abeni
2022-09-27 21:02 ` Pavel Begunkov
2022-09-29 2:20 ` patchwork-bot+netdevbpf [this message]
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=166441802135.18961.14047192093792393033.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=asml.silence@gmail.com \
--cc=davem@davemloft.net \
--cc=jasowang@redhat.com \
--cc=kuba@kernel.org \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mst@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=paul@xen.org \
--cc=virtualization@lists.linux-foundation.org \
--cc=wei.liu@kernel.org \
--cc=xen-devel@lists.xenproject.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox