Re: ~90s reboot delay with v6.19 and PREEMPT_RT

From: Steven Rostedt

Date: Thu Feb 19 2026 - 20:07:49 EST


On Fri, 20 Feb 2026 00:10:41 +0100
Bert Karwatzki <spasswolf@xxxxxx> wrote:

> These seem to be the same type of messages that commit
> 9311e6c29b34 ("cgroup: Fix sleeping from invalid context warning on PREEMPT_RT")
> is supposed to fix.
> When I compile a kernel with 9311e6c29b34 as HEAD I do not get these messages, so
> I guess I have to do another bisection here.

Can you add to the kernel command line:

trace_event=sched_switch traceoff_after_boot

And then look at /sys/kernel/tracing/trace

It will enable sched_switch event and the traceoff_after_boot will
disable tracing right before running init. That way you can see what is
running during boot that is taking the 90 seconds.

-- Steve