Re: [PATCH] bpf: Remove tracing program restriction on map types
From: Greg KH
Date: Tue Apr 15 2025 - 09:19:39 EST
On Tue, Apr 15, 2025 at 06:39:07PM +0530, Devaansh Kumar wrote:
> [ Upstream commit 96da3f7d489d11b43e7c1af90d876b9a2492cca8 ]
>
> 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@xxxxxxxxxx>
> Signed-off-by: Daniel Borkmann <daniel@xxxxxxxxxxxxx>
> Acked-by: Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>
> Acked-by: Andrii Nakryiko <andrii@xxxxxxxxxx>
> Link: https://lore.kernel.org/bpf/20220902211058.60789-13-alexei.starovoitov@xxxxxxxxx
> Signed-off-by: Devaansh Kumar <devaanshk840@xxxxxxxxx>
> ---
> kernel/bpf/verifier.c | 29 -----------------------------
> 1 file changed, 29 deletions(-)
what kernel tree(s) is this for?