bpf: add support for bpf_wq user type
authorBenjamin Tissoires <bentiss@kernel.org>
Sat, 20 Apr 2024 09:09:05 +0000 (11:09 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 24 Apr 2024 01:31:24 +0000 (18:31 -0700)
commitd56b63cf0c0f71e1b2e04dd8220b408f049e67ff
treec285bc78a8db309b3e1ec39e5881ba1477b611d9
parentfc22d9495f0b32d75b5d25a17b300b7aad05c55d
bpf: add support for bpf_wq user type

Mostly a copy/paste from the bpf_timer API, without the initialization
and free, as they will be done in a separate patch.

Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Link: https://lore.kernel.org/r/20240420-bpf_wq-v2-5-6c986a5a741f@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/linux/bpf.h
include/uapi/linux/bpf.h
kernel/bpf/btf.c
kernel/bpf/syscall.c
kernel/bpf/verifier.c