]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/bpf: Add test for sleepable program tailcalls
authorJiri Olsa <jolsa@kernel.org>
Fri, 30 Jan 2026 08:12:08 +0000 (09:12 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 30 Jan 2026 20:17:47 +0000 (12:17 -0800)
commit15ac1adf0f84a90605121fbe4a6238b24c865f92
tree766ac648e8ec7f6935c390758e58b0df4e9360dd
parent0f0c332992b8a5d2ae7b611b94c4e02ef8d54b97
selftests/bpf: Add test for sleepable program tailcalls

Adding test that makes sure we can't mix sleepable and non-sleepable
bpf programs in the BPF_MAP_TYPE_PROG_ARRAY map and that we can do
tail call in the sleepable program.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20260130081208.1130204-3-jolsa@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/tailcalls.c
tools/testing/selftests/bpf/progs/tailcall_sleepable.c [new file with mode: 0644]