aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-plat.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2022-09-02 21:10:56 +0000
committerDaniel Borkmann <[email protected]>2022-09-05 13:33:06 +0000
commit02cc5aa29e8cef4c1d710accd423546ab63f4eda (patch)
tree6621deafbb666f230e4b4836247a9b1113a58f7e /drivers/usb/cdns3/cdns3-plat.c
parentbpf: Prepare bpf_mem_alloc to be used by sleepable bpf programs. (diff)
downloadkernel-02cc5aa29e8cef4c1d710accd423546ab63f4eda.tar.gz
kernel-02cc5aa29e8cef4c1d710accd423546ab63f4eda.zip
bpf: Remove prealloc-only restriction for sleepable bpf programs.
Since hash map is now converted to bpf_mem_alloc and it's waiting for rcu and rcu_tasks_trace GPs before freeing elements into global memory slabs it's safe to use dynamically allocated hash maps in sleepable bpf programs. 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