Thread (2 messages) flat view 2 messages, 2 authors, 2021-06-14

Re: [PATCH net] net: qualcomm: rmnet: don't over-count statistics

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-06-14 19:20:10
Also in: lkml

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Fri, 11 Jun 2021 13:26:00 -0500 you wrote:
The purpose of the loop using u64_stats_fetch_*_irq() is to ensure
statistics on a given CPU are collected atomically. If one of the
statistics values gets updated within the begin/retry window, the
loop will run again.

Currently the statistics totals are updated inside that window.
This means that if the loop ever retries, the statistics for the
CPU will be counted more than once.

[...]
Here is the summary with links:
  - [net] net: qualcomm: rmnet: don't over-count statistics
    https://git.kernel.org/netdev/net/c/994c393bb688

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help