diff options
| author | Alexei Starovoitov <ast@kernel.org> | 2022-09-03 00:10:55 +0300 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-09-05 16:33:06 +0300 |
| commit | dccb4a9013a68ddcb8303cd60f2fca1742014f3f (patch) | |
| tree | 9a5493637aa7952ff2999ffb2c03cadeae56c0ff /tools/perf/scripts/python | |
| parent | 96da3f7d489d11b43e7c1af90d876b9a2492cca8 (diff) | |
| download | linux-dccb4a9013a68ddcb8303cd60f2fca1742014f3f.tar.xz | |
bpf: Prepare bpf_mem_alloc to be used by sleepable bpf programs.
Use call_rcu_tasks_trace() to wait for sleepable progs to finish.
Then use call_rcu() to wait for normal progs to finish
and finally do free_one() on each element when freeing objects
into global memory pool.
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-14-alexei.starovoitov@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
