Re: [EXT.MSG] Re: [PATCH RFC bpf-next 0/2] bpf: Do not let preemption cause false recursion drops in trampoline progs

From: Peter Zijlstra

Date: Thu Nov 05 2026 - 03:54:05 EST


On Thu, Nov 05, 2026 at 05:18:48AM +0000, Alexei Starovoitov wrote:

> pls try _no_resched() as I suggested in the other reply.

Please do not. The only point where you are allowed to use a
_no_resched() is if you then call schedule() right after. Any other use
is broken and *will* be fixed.