diff options
| author | David Vernet <void@manifault.com> | 2023-12-08 00:08:43 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2023-12-10 08:37:33 +0300 |
| commit | 88f6047191e69bdd02cf1b9b5b514f7e514e8b86 (patch) | |
| tree | 21a2ba3658473f297c164c78c15ef1ce6eedec20 /include/linux | |
| parent | a6de18f310a511278c1ff16b96eb2d500eada725 (diff) | |
| download | linux-88f6047191e69bdd02cf1b9b5b514f7e514e8b86.tar.xz | |
selftests/bpf: Add test for bpf_cpumask_weight() kfunc
The new bpf_cpumask_weight() kfunc can be used to count the number of
bits that are set in a struct cpumask* kptr. Let's add a selftest to
verify its behavior.
Signed-off-by: David Vernet <void@manifault.com>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20231207210843.168466-3-void@manifault.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
