aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c
diff options
context:
space:
mode:
authorBenjamin Tissoires <bentiss@kernel.org>2024-04-20 11:09:13 +0200
committerAlexei Starovoitov <ast@kernel.org>2024-04-23 19:46:57 -0700
commit81f1d7a583fa1fa14f0c4e6140d34b5e3d08d227 (patch)
tree17f05f9ee42a2660f9ad0a48a2179800634fc5e9 /tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c
parente3d9eac99afd94980475833479332fefd74c5c2b (diff)
bpf: wq: add bpf_wq_set_callback_impl
To support sleepable async callbacks, we need to tell push_async_cb() whether the cb is sleepable or not. The verifier now detects that we are in bpf_wq_set_callback_impl and can allow a sleepable callback to happen. Signed-off-by: Benjamin Tissoires <bentiss@kernel.org> Link: https://lore.kernel.org/r/20240420-bpf_wq-v2-13-6c986a5a741f@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c')
0 files changed, 0 insertions, 0 deletions