On Tue, 2 Jun 2026 15:35:39 +0800, Lin Ma <[email protected]> wrote:
> Add tail-call selftests for prog-array ownership when cgroup storage is
> in use. Verify that loading succeeds when callers and callees reuse the
> owner's cgroup storage map, and that loading fails for a different
> storage map or for a storage-less bridge program.
>
> Signed-off-by: Lin Ma <[email protected]>
> Signed-off-by: Rongzhen Cui <[email protected]>
> Signed-off-by: Jingguo Tan <[email protected]>
> ---
[...]
> @@ -1777,6 +1874,12 @@ void test_tailcalls(void)
>               test_tailcall_freplace();
>       if (test__start_subtest("tailcall_bpf2bpf_freplace"))
>               test_tailcall_bpf2bpf_freplace();
> +     if (test__start_subtest("tailcall_cgrp_storage"))
> +             test_tailcall_cgrp_storage();
> +     if (test__start_subtest("tailcall_cgrp_storage_diff_storage"))
> +             test_tailcall_cgrp_storage_diff_storage();
> +     if (test__start_subtest("tailcall_cgrp_storage_no_storage"))
> +             test_tailcall_cgrp_storage_no_storage();
>

These new ones should stay at the tail of test_tailcalls().

Thanks,
Leon

>       if (test__start_subtest("tailcall_failure"))
>               test_tailcall_failure();
>       if (test__start_subtest("tailcall_sleepable"))

[...]

Reply via email to