[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176847720679.3956289.12601442580224129560.git-patchwork-notify@kernel.org>
Date: Thu, 15 Jan 2026 11:40:06 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Eric Dumazet <edumazet@...gle.com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com, horms@...nel.org,
netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH net-next] net: inline napi_skb_cache_get()
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Mon, 12 Jan 2026 13:15:15 +0000 you wrote:
> clang is inlining it already, gcc (14.2) does not.
>
> Small space cost (215 bytes on x86_64) but faster sk_buff allocations.
>
> $ scripts/bloat-o-meter -t net/core/skbuff.gcc.before.o net/core/skbuff.gcc.after.o
> add/remove: 0/1 grow/shrink: 4/1 up/down: 359/-144 (215)
> Function old new delta
> __alloc_skb 471 611 +140
> napi_build_skb 245 363 +118
> napi_alloc_skb 331 416 +85
> skb_copy_ubufs 1869 1885 +16
> skb_shift 1445 1413 -32
> napi_skb_cache_get 112 - -112
> Total: Before=59941, After=60156, chg +0.36%
>
> [...]
Here is the summary with links:
- [net-next] net: inline napi_skb_cache_get()
https://git.kernel.org/netdev/net-next/c/d4596891e72c
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