Re: [PATCH 4/5] sched: Add assertions to QUEUE_CLASS

Peter Zijlstra
2025-12-18T10:12:32Z

On Thu, Dec 18, 2025 at 11:09:13AM +0100, Marek Szyprowski wrote:
> On 27.11.2025 16:39, Peter Zijlstra wrote:
> > Add some checks to the sched_change pattern to validate assumptions
> > around changing classes.
> >
> > Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
>
>
> This patch landed recently in linux-next as commit 47efe2ddccb1
> ("sched/core: Add assertions to QUEUE_CLASS"). In my tests it turned out
> that it triggers the following warning during simple 'rtcwake' test on
> Hardkernel's Odroid-M1 board
> (arch/arm64/boot/dts/rockchip/rk3568-odroid-m1.dts):
>
> root@target:~# time rtcwake -s5 -mon
> rtcwake: wakeup using /dev/rtc0 at Thu Dec 18 10:01:28 2025
> ------------[ cut here ]------------
> WARNING: kernel/sched/core.c:10837 at sched_change_end+0x160/0x168,