HomeFreeBSD

vmm: vlapic resume can eat 100% CPU by vlapic_callout_handler

Description

vmm: vlapic resume can eat 100% CPU by vlapic_callout_handler

Suspend/Resume of Win10 leads that CPU0 is busy on handling interrupts.

Win10 does not use LAPIC timer to often and in most cases, and I see it
is disabled by writing 0 to Initial Count Register (for Timer).

During resume, restart timer only for enabled LAPIC and enabled timer
for that LAPIC.

Reviewed by: markj

(cherry picked from commit c72e914cf108d3904eb5070b0999b3b5b6a4f384)

Details

Provenance
gusev.vitaliy_gmail.comAuthored on Jan 11 2022, 2:24 PM
markjCommitted on Jan 25 2022, 2:55 PM
Parents
rG82acfc0d7838: add and use defintions for ATA power modes
Branches
Unknown
Tags
Unknown