Messages in this thread | | | Subject | Re: [PATCH v2] bpf: Simplify code by using for_each_cpu_wrap() | From | patchwork-bot+netdevbpf@kernel ... | Date | Sat, 10 Sep 2022 23:30:14 +0000 |
| |
Hello:
This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <ast@kernel.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
| |