Re: [PATCH v6 net-next 00/11] skbuff: introduce skbuff_heads bulking and reusing
From: patchwork-bot+netdevbpf
Date: Sat Feb 13 2021 - 17:53:11 EST
Hello:
This series was applied to netdev/net-next.git (refs/heads/master):
On Sat, 13 Feb 2021 14:10:43 +0000 you wrote:
> Currently, all sorts of skb allocation always do allocate
> skbuff_heads one by one via kmem_cache_alloc().
> On the other hand, we have percpu napi_alloc_cache to store
> skbuff_heads queued up for freeing and flush them by bulks.
>
> We can use this cache not only for bulk-wiping, but also to obtain
> heads for new skbs and avoid unconditional allocations, as well as
> for bulk-allocating (like XDP's cpumap code and veth driver already
> do).
>
> [...]
Here is the summary with links:
- [v6,net-next,01/11] skbuff: move __alloc_skb() next to the other skb allocation functions
https://git.kernel.org/netdev/net-next/c/5381b23d5bf9
- [v6,net-next,02/11] skbuff: simplify kmalloc_reserve()
https://git.kernel.org/netdev/net-next/c/ef28095fce66
- [v6,net-next,03/11] skbuff: make __build_skb_around() return void
https://git.kernel.org/netdev/net-next/c/483126b3b2c6
- [v6,net-next,04/11] skbuff: simplify __alloc_skb() a bit
https://git.kernel.org/netdev/net-next/c/df1ae022af2c
- [v6,net-next,05/11] skbuff: use __build_skb_around() in __alloc_skb()
https://git.kernel.org/netdev/net-next/c/f9d6725bf44a
- [v6,net-next,06/11] skbuff: remove __kfree_skb_flush()
https://git.kernel.org/netdev/net-next/c/fec6e49b6398
- [v6,net-next,07/11] skbuff: move NAPI cache declarations upper in the file
https://git.kernel.org/netdev/net-next/c/50fad4b543b3
- [v6,net-next,08/11] skbuff: introduce {,__}napi_build_skb() which reuses NAPI cache heads
https://git.kernel.org/netdev/net-next/c/f450d539c05a
- [v6,net-next,09/11] skbuff: allow to optionally use NAPI cache from __alloc_skb()
https://git.kernel.org/netdev/net-next/c/d13612b58e64
- [v6,net-next,10/11] skbuff: allow to use NAPI cache from __napi_alloc_skb()
https://git.kernel.org/netdev/net-next/c/cfb8ec659521
- [v6,net-next,11/11] skbuff: queue NAPI_MERGED_FREE skbs into NAPI cache instead of freeing
https://git.kernel.org/netdev/net-next/c/9243adfc311a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html