Browse Source
When the PM subsystem is enabled, the idle thread locks the scheduler for the duration the system is suspended. If a meta-IRQ preempts the idle thread in this state, the idle thread is tracked in `metairq_preempted`. However, when returning from the preemption, the idle thread is not removed from `metairq_preempted`, unlike all the other threads. As a result, the scheduler keeps running the idle thread even if there are higher priority threads ready to run. This change treats the idle thread the same way as all other threads when returning from a meta-IRQ preemption. Fixes #64705 Signed-off-by: Kalle Kietäväinen <kalle.kietavainen@silabs.com>pull/84606/head
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue