ke/sched: check for pending DPCs in idle

This commit is contained in:
Loïc Grégoire
2026-08-09 16:44:49 -04:00
parent 63cd104616
commit 5cd981070e
+5
View File
@@ -1393,6 +1393,11 @@ pub fn idle(_: ?*anyopaque) noreturn {
}
}
// Dispatch any pending DPCs.
if (ki.ipl.is_softint_pending(.Dispatch)) {
ki.dpc.dispatch();
}
std.atomic.spinLoopHint();
}
}