Re: [PATCH bpf-next v3 0/4] bpf: Check recursion per task for preemptible programs

From: Mike Bazov

Date: Tue Nov 24 2026 - 11:10:15 EST


On Tue, Nov 24, 2026 at 06:21 AM Alexei Starovoitov wrote:
> I think this should minimize the breakage and fix the issue.

Thanks, I'll do v4 that way. One question:

Timed may_goto sets the mark, so a may_goto loop would run with
preemption off for up to 250 ms, which you ruled out on v1 ("with
may_goto they can take 1/4 sec"). Move count and timestamp per
invocation, in bpf_run_ctx, so that may_goto needs no mark?

Thanks,
Mike