[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161241120879.9496.5809684422287396150.git-patchwork-notify@kernel.org>
Date: Thu, 04 Feb 2021 04:00:08 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Wei Wang <weiwan@...gle.com>
Cc: davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org,
edumazet@...gle.com, soheil@...gle.com
Subject: Re: [PATCH net-next] tcp: use a smaller percpu_counter batch size for
sk_alloc
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Tue, 2 Feb 2021 11:34:08 -0800 you wrote:
> Currently, a percpu_counter with the default batch size (2*nr_cpus) is
> used to record the total # of active sockets per protocol. This means
> sk_sockets_allocated_read_positive() could be off by +/-2*(nr_cpus^2).
> This under/over-estimation could lead to wrong memory suppression
> conditions in __sk_raise_mem_allocated().
> Fix this by using a more reasonable fixed batch size of 16.
>
> [...]
Here is the summary with links:
- [net-next] tcp: use a smaller percpu_counter batch size for sk_alloc
https://git.kernel.org/netdev/net-next/c/f5a5589c7250
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