diff options
| author | David Vernet <void@manifault.com> | 2023-03-16 08:40:25 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2023-03-16 22:28:30 +0300 |
| commit | 63d2d83d21a6e2c6f019da5b2d5cdabe6d1cb951 (patch) | |
| tree | dc8cc84007c7cc3777ef5aec93e4fb2387197025 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 77473d1a962f3d4f7ba48324502b6d27b8ef2591 (diff) | |
| download | linux-63d2d83d21a6e2c6f019da5b2d5cdabe6d1cb951.tar.xz | |
bpf: Mark struct bpf_cpumask as rcu protected
struct bpf_cpumask is a BPF-wrapper around the struct cpumask type which
can be instantiated by a BPF program, and then queried as a cpumask in
similar fashion to normal kernel code. The previous patch in this series
makes the type fully RCU safe, so the type can be included in the
rcu_protected_type BTF ID list.
A subsequent patch will remove bpf_cpumask_kptr_get(), as it's no longer
useful now that we can just treat the type as RCU safe by default and do
our own if check.
Signed-off-by: David Vernet <void@manifault.com>
Link: https://lore.kernel.org/r/20230316054028.88924-3-void@manifault.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
