[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163481701891.17414.17028188432816254517.git-patchwork-notify@kernel.org>
Date: Thu, 21 Oct 2021 11:50:18 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc: naresh.kamboju@...aro.org, netdev@...r.kernel.org,
linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
lkft-triage@...ts.linaro.org, davem@...emloft.net, kuba@...nel.org,
jhs@...atatu.com, xiyou.wangcong@...il.com, jiri@...nulli.us,
tglx@...utronix.de, a.darwish@...utronix.de
Subject: Re: [PATCH net-next] net: stats: Read the statistics in
___gnet_stats_copy_basic() instead of adding.
Hello:
This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@...emloft.net>:
On Thu, 21 Oct 2021 11:59:19 +0200 you wrote:
> Since the rework, the statistics code always adds up the byte and packet
> value(s). On 32bit architectures a seqcount_t is used in
> gnet_stats_basic_sync to ensure that the 64bit values are not modified
> during the read since two 32bit loads are required. The usage of a
> seqcount_t requires a lock to ensure that only one writer is active at a
> time. This lock leads to disabled preemption during the update.
>
> [...]
Here is the summary with links:
- [net-next] net: stats: Read the statistics in ___gnet_stats_copy_basic() instead of adding.
https://git.kernel.org/netdev/net-next/c/c5c6e589a8c8
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