mbox series

[v2,net,0/2] net: remove the single page frag cache for good

Message ID cover.1739899357.git.pabeni@redhat.com (mailing list archive)
Headers show
Series net: remove the single page frag cache for good | expand

Message

Paolo Abeni Feb. 18, 2025, 6:29 p.m. UTC
This is another attempt at reverting commit dbae2b062824 ("net: skb:
introduce and use a single page frag cache"), as it causes regressions
in specific use-cases.

Reverting such commit uncovers an allocation issue for build with 
CONFIG_MAX_SKB_FRAGS=45, as reported by Sabrina.

This series handle the latter in patch 1 and brings the revert in patch
2.

Note that there is a little chicken-egg problem, as I included into the
patch 1's changelog the splat that would be visible only applying first
the revert: I think current patch order is better for bisectability,
still the splat is useful for correct attribution.

Paolo Abeni (2):
  net: allow small head cache usage with large MAX_SKB_FRAGS values
  Revert "net: skb: introduce and use a single page frag cache"

 include/linux/netdevice.h |   1 -
 include/net/gro.h         |   3 ++
 net/core/dev.c            |  17 ++++++
 net/core/gro.c            |   3 --
 net/core/skbuff.c         | 110 ++++----------------------------------
 5 files changed, 30 insertions(+), 104 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 20, 2025, 10:10 a.m. UTC | #1
Hello:

This series was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Tue, 18 Feb 2025 19:29:38 +0100 you wrote:
> This is another attempt at reverting commit dbae2b062824 ("net: skb:
> introduce and use a single page frag cache"), as it causes regressions
> in specific use-cases.
> 
> Reverting such commit uncovers an allocation issue for build with
> CONFIG_MAX_SKB_FRAGS=45, as reported by Sabrina.
> 
> [...]

Here is the summary with links:
  - [v2,net,1/2] net: allow small head cache usage with large MAX_SKB_FRAGS values
    https://git.kernel.org/netdev/net/c/14ad6ed30a10
  - [v2,net,2/2] Revert "net: skb: introduce and use a single page frag cache"
    https://git.kernel.org/netdev/net/c/6bc7e4eb0499

You are awesome, thank you!