On Sun, May 4, 2025 at 11:40 PM Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx> wrote: > > bpf_msleep_interruptible() puts a calling context into an > interruptible sleep. This function is expected to be used > for testing only (perhaps in conjunction with fault-injection) > to simulate various execution delays or timeouts. Please keep in mind that BPF programs run in not sleepable contexts, including NMIs. Maybe udelay() is a better option? Thanks, Song