fix: reduce idle CPU wakeups and deferred-work polling
This commit is contained in:
1 parent
f7677ac3f1
commit
788b662d44
10 files changed
+109
-14
No files matched your search
@@ -218,6 +218,10 @@ namespace Smp {
|
||||
for (;;) {
|
||||
// Pick up thermal-governor frequency changes decided by the BSP.
|
||||
Hal::CpuPower::ApplyPolicyIfChanged();
|
||||
// Runnable work sends this AP a reschedule IPI. Keep its periodic
|
||||
// scheduler tick masked for the entire idle-context pass so long
|
||||
// firmware waits do not keep generating useless timer interrupts.
|
||||
Timekeeping::ApicTimerEnterApIdle();
|
||||
// Any idle core may run bounded USB/NIC bottom halves. Preserve
|
||||
// the AP's ACPI/MWAIT idle selection after servicing them.
|
||||
Timekeeping::ServiceDeferredWork();
|
||||
|
||||
Reference in new issue
Block a user