Re: 答复: [外部邮件] [PATCH 6.1.y] KVM: x86: fire timer when it is migrated and expired, and in oneshot mode
From: Sean Christopherson
Date: Tue Aug 20 2024 - 10:08:29 EST
On Tue, Aug 20, 2024, Li,Rongqing wrote:
> >
> > From: Li RongQing <lirongqing@xxxxxxxxx>
> >
> > [ Upstream Commit 8e6ed96cdd5001c55fccc80a17f651741c1ca7d2]
> >
> > when the vCPU was migrated, if its timer is expired, KVM _should_ fire the
> > timer ASAP, zeroing the deadline here will cause the timer to immediately fire
> > on the destination
> >
>
> This patch increased the reproduce ratio of lapic timer interrupt losing,
Yep, this caused a painful amount of fallout in our environment.
> which has been fixed by the following patch; so I think patch should not
> merge it into 6.1
David, can you prep a small series with both this patch and the fix below?
Thanks!
> commit 9cfec6d097c607e36199cf0cfbb8cf5acbd8e9b2
> Author: Haitao Shan <hshan@xxxxxxxxxx>
> Date: Tue Sep 12 16:55:45 2023 -0700