Re: [PATCH bpf-next v12 2/6] bpf: Add bpf_prog_run_array_sleepable()

Alexei Starovoitov
2026-04-22T17:00:40Z

On Wed, Apr 22, 2026 at 9:36 AM Mykyta Yatsenko
<mykyta.yatsenko5@gmail.com> wrote:
>
> >> +
> >> + if (prog->sleepable) {
> >> + guard(rcu)();
> >> + ret &= run_prog(prog, ctx);
> >> + } else {
> >> + ret &= run_prog(prog, ctx);
> >> + }
> >
>
> Yep, this one should be inverted.

Ohh and CI was green. Looks like there is a gap in test coverage.
I thought you added a test that does something like bpf_copy_from_user.
We should have seen the splat with config_debug_atomic_sleep.
What happened?