Re: [PATCH bpf-next v4 2/2] selftests/bpf: Add test to ensure kprobe_multi is not sleepable

From: Jiri Olsa

Date: Wed Apr 08 2026 - 16:18:19 EST


On Thu, Apr 09, 2026 at 12:17:54AM +0530, Varun R Mallya wrote:
> On Thu, Apr 09, 2026 at 12:05:49AM +0530, Varun R Mallya wrote:
> > @@ -676,5 +750,7 @@ void test_kprobe_multi_test(void)
> > test_unique_match();
> > if (test__start_subtest("attach_write_ctx"))
> > test_attach_write_ctx();
> > + if (test__start_subtest("attach_multi_sleepable"))
> > + test_attach_multi_sleepable();
> > RUN_TESTS(kprobe_multi_verifier);
> Please ignore this patch. I will send a v5 in a few minutes. I forgot to
> remove the selftest from the previous location after moving it into
> attach_api_fails.

also no need to send patch#1 it's already in:
eb7024bfcc5f bpf: Reject sleepable kprobe_multi programs at attach time

jirka


> > +}
> > +
> > +char _license[] SEC("license") = "GPL";
> > --
> > 2.53.0
> >