On Mon, Mar 06, 2023 at 09:42:07AM CET, Martin KaFai Lau wrote: > From: Martin KaFai Lau <martin.lau@xxxxxxxxxx> > > This patch removes the bpf_selem_free_fields*_rcu. The > bpf_obj_free_fields() can be done before the call_rcu_trasks_trace() > and kfree_rcu(). It is needed when a later patch uses > bpf_mem_cache_alloc/free. In bpf hashtab, bpf_obj_free_fields() > is also called before calling bpf_mem_cache_free. The discussion > can be found in > https://lore.kernel.org/bpf/f67021ee-21d9-bfae-6134-4ca542fab843@xxxxxxxxx/ > > Cc: Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx> > Signed-off-by: Martin KaFai Lau <martin.lau@xxxxxxxxxx> > --- Acked-by: Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>