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
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D33448

Details

Provenance
gusev.vitaliy_gmail.comAuthored on Jan 11 2022, 2:24 PM
markjCommitted on Jan 11 2022, 2:27 PM
Reviewer
markj
Differential Revision
D33448: vmm: vlapic resume can eat 100% CPU by vlapic_callout_handler
Parents
rGc4a25e071326: vm_pageout: Group sysctl variables together with sysctl definitions
Branches
Unknown
Tags
Unknown