[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166285261490.22663.16792763568824873547.git-patchwork-notify@kernel.org>
Date: Sat, 10 Sep 2022 23:30:14 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Punit Agrawal <punit.agrawal@...edance.com>
Cc: ast@...nel.org, bpf@...r.kernel.org, linux-kernel@...r.kernel.org,
zhoufeng.zf@...edance.com, daniel@...earbox.net, andrii@...nel.org,
martin.lau@...ux.dev, song@...nel.org, yhs@...com,
john.fastabend@...il.com, kpsingh@...nel.org, jolsa@...nel.org
Subject: Re: [PATCH v2] bpf: Simplify code by using for_each_cpu_wrap()
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@...nel.org>:
On Wed, 7 Sep 2022 16:57:46 +0100 you wrote:
> In the percpu freelist code, it is a common pattern to iterate over
> the possible CPUs mask starting with the current CPU. The pattern is
> implemented using a hand rolled while loop with the loop variable
> increment being open-coded.
>
> Simplify the code by using for_each_cpu_wrap() helper to iterate over
> the possible cpus starting with the current CPU. As a result, some of
> the special-casing in the loop also gets simplified.
>
> [...]
Here is the summary with links:
- [v2] bpf: Simplify code by using for_each_cpu_wrap()
https://git.kernel.org/bpf/bpf-next/c/57c92f11a215
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