summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorHou Tao <houtao1@huawei.com>2023-12-08 13:23:51 +0300
committerAlexei Starovoitov <ast@kernel.org>2023-12-10 05:12:34 +0300
commit012772581d040607ac1f981f47f6afd2336b4580 (patch)
treefc505f0096d9b01c5dbc856091c2d6553b253093 /include/linux/workqueue.h
parent37ba5b59d6adfa08926acd3a833608487a18c2ef (diff)
downloadlinux-012772581d040607ac1f981f47f6afd2336b4580.tar.xz
bpf: Add missed maybe_wait_bpf_programs() for htab of maps
When doing batched lookup and deletion operations on htab of maps, maybe_wait_bpf_programs() is needed to ensure all programs don't use the inner map after the bpf syscall returns. Instead of adding the wait in __htab_map_lookup_and_delete_batch(), adding the wait in bpf_map_do_batch() and also removing the calling of maybe_wait_bpf_programs() from generic_map_{delete,update}_batch(). Signed-off-by: Hou Tao <houtao1@huawei.com> Link: https://lore.kernel.org/r/20231208102355.2628918-4-houtao@huaweicloud.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions