From: patchwork-bot+netdevbpf@kernel.org
To: Wei Wang <weiwan@google.com>
Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org,
edumazet@google.com, soheil@google.com
Subject: Re: [PATCH net-next] tcp: use a smaller percpu_counter batch size for sk_alloc
Date: Thu, 04 Feb 2021 04:00:08 +0000 [thread overview]
Message-ID: <161241120879.9496.5809684422287396150.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20210202193408.1171634-1-weiwan@google.com>
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
prev parent reply other threads:[~2021-02-04 4:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-02 19:34 [PATCH net-next] tcp: use a smaller percpu_counter batch size for sk_alloc Wei Wang
2021-02-04 4:00 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=161241120879.9496.5809684422287396150.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=soheil@google.com \
--cc=weiwan@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).