[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176105520683.1093757.15942345339550067934.git-patchwork-notify@kernel.org>
Date: Tue, 21 Oct 2025 14:00: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,
kuniyu@...gle.com, willemb@...gle.com, netdev@...r.kernel.org,
eric.dumazet@...il.com
Subject: Re: [PATCH net-next] net: avoid extra acces to sk->sk_wmem_alloc in
sock_wfree()
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Fri, 17 Oct 2025 13:37:12 +0000 you wrote:
> UDP TX packets destructor is sock_wfree().
>
> It suffers from a cache line bouncing in sock_def_write_space_wfree().
>
> Instead of reading sk->sk_wmem_alloc after we just did an atomic RMW
> on it, use __refcount_sub_and_test() to get the old value for free,
> and pass the new value to sock_def_write_space_wfree().
>
> [...]
Here is the summary with links:
- [net-next] net: avoid extra acces to sk->sk_wmem_alloc in sock_wfree()
https://git.kernel.org/netdev/net-next/c/3ff9bcecce83
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