[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175867202049.1967235.5341414234774872189.git-patchwork-notify@kernel.org>
Date: Wed, 24 Sep 2025 00:00:20 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Jason Baron <jbaron@...mai.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, netdev@...r.kernel.org
Subject: Re: [PATCH v2 net] net: allow alloc_skb_with_frags() to use
MAX_SKB_FRAGS
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Mon, 22 Sep 2025 15:19:57 -0400 you wrote:
> Currently, alloc_skb_with_frags() will only fill (MAX_SKB_FRAGS - 1)
> slots. I think it should use all MAX_SKB_FRAGS slots, as callers of
> alloc_skb_with_frags() will size their allocation of frags based
> on MAX_SKB_FRAGS.
>
> This issue was discovered via a test patch that sets 'order' to 0
> in alloc_skb_with_frags(), which effectively tests/simulates high
> fragmentation. In this case sendmsg() on unix sockets will fail every
> time for large allocations. If the PAGE_SIZE is 4K, then data_len will
> request 68K or 17 pages, but alloc_skb_with_frags() can only allocate
> 64K in this case or 16 pages.
>
> [...]
Here is the summary with links:
- [v2,net] net: allow alloc_skb_with_frags() to use MAX_SKB_FRAGS
https://git.kernel.org/netdev/net/c/ca9f9cdc4de9
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