diff options
| author | Alexei Starovoitov <[email protected]> | 2022-09-02 21:10:55 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2022-09-05 13:33:06 +0000 |
| commit | dccb4a9013a68ddcb8303cd60f2fca1742014f3f (patch) | |
| tree | 9a5493637aa7952ff2999ffb2c03cadeae56c0ff /drivers/usb/cdns3/cdns3-plat.c | |
| parent | bpf: Remove tracing program restriction on map types (diff) | |
| download | kernel-dccb4a9013a68ddcb8303cd60f2fca1742014f3f.tar.gz kernel-dccb4a9013a68ddcb8303cd60f2fca1742014f3f.zip | |
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Kumar Kartikeya Dwivedi <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions
