diff options
| author | Martin KaFai Lau <martin.lau@kernel.org> | 2023-03-08 09:59:26 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2023-03-10 22:05:28 +0300 |
| commit | c609981342dca634e5dea8c6ca175b6533581261 (patch) | |
| tree | 9a1fc6e1b8c8d2fec1262b6e02e20f77038c4117 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | a47eabf216f77cb6f22ceb38d46f1bb95968579c (diff) | |
| download | linux-c609981342dca634e5dea8c6ca175b6533581261.tar.xz | |
bpf: Remove bpf_selem_free_fields*_rcu
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@linux.dev/
Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/r/20230308065936.1550103-8-martin.lau@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
