Re: [PATCH net-next] net/sysctl: avoid two synchronize_rcu() calls
From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-02-28 11:50:24
From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-02-28 11:50:24
Hello: This patch was applied to netdev/net-next.git (master) by David S. Miller [off-list ref]: On Fri, 25 Feb 2022 08:18:55 -0800 you wrote:
From: Eric Dumazet <edumazet@google.com> Both rps_sock_flow_sysctl() and flow_limit_cpu_sysctl() are using synchronize_rcu() right before freeing memory either by vfree() or kfree() They can switch to kvfree_rcu(ptr) and kfree_rcu(ptr) to benefit from asynchronous mode, instead of blocking the current thread. [...]
Here is the summary with links:
- [net-next] net/sysctl: avoid two synchronize_rcu() calls
https://git.kernel.org/netdev/net-next/c/b3483bc7a1f2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html