diff options
author | Alexei Starovoitov <ast@kernel.org> | 2022-09-02 23:10:54 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-09-05 15:33:06 +0200 |
commit | 96da3f7d489d11b43e7c1af90d876b9a2492cca8 (patch) | |
tree | 45ddc0b1d6da09d1acfe4f9be1de97b490dad59c /kernel/bpf/devmap.c | |
parent | bpf: Convert percpu hash map to per-cpu bpf_mem_alloc. (diff) | |
download | linux-96da3f7d489d11b43e7c1af90d876b9a2492cca8.tar.xz linux-96da3f7d489d11b43e7c1af90d876b9a2492cca8.zip |
bpf: Remove tracing program restriction on map types
The hash map is now fully converted to bpf_mem_alloc. Its implementation is not
allocating synchronously and not calling call_rcu() directly. It's now safe to
use non-preallocated hash maps in all types of tracing programs including
BPF_PROG_TYPE_PERF_EVENT that runs out of NMI context.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220902211058.60789-13-alexei.starovoitov@gmail.com
Diffstat (limited to 'kernel/bpf/devmap.c')
0 files changed, 0 insertions, 0 deletions