lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <170218682400.18582.4497349299416423669.git-patchwork-notify@kernel.org> Date: Sun, 10 Dec 2023 05:40:24 +0000 From: patchwork-bot+netdevbpf@...nel.org To: David Vernet <void@...ifault.com> Cc: bpf@...r.kernel.org, ast@...nel.org, daniel@...earbox.net, andrii@...nel.org, martin.lau@...ux.dev, song@...nel.org, yonghong.song@...ux.dev, john.fastabend@...il.com, kpsingh@...nel.org, sdf@...gle.com, haoluo@...gle.com, jolsa@...nel.org, linux-kernel@...r.kernel.org, kernel-team@...a.com Subject: Re: [PATCH bpf-next 0/2] Add new bpf_cpumask_weight() kfunc Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <ast@...nel.org>: On Thu, 7 Dec 2023 15:08:41 -0600 you wrote: > It can be useful to query how many bits are set in a cpumask. For > example, if you want to perform special logic for the last remaining > core that's set in a mask. This logic is already exposed through the > main kernel's cpumask header as cpumask_weight(), so it would be useful > to add a new bpf_cpumask_weight() kfunc which wraps it and does the > same. > > [...] Here is the summary with links: - [bpf-next,1/2] bpf: Add bpf_cpumask_weight() kfunc https://git.kernel.org/bpf/bpf-next/c/a6de18f310a5 - [bpf-next,2/2] selftests/bpf: Add test for bpf_cpumask_weight() kfunc https://git.kernel.org/bpf/bpf-next/c/88f6047191e6 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