Re: [PATCH v2 43/43] KVM: VMX: Don't do full kick when handling posted interrupt wakeup
From: Maxim Levitsky
Date: Sun Oct 31 2021 - 18:34:24 EST
On Mon, 2021-10-25 at 16:16 +0200, Paolo Bonzini wrote:
> On 09/10/21 04:12, Sean Christopherson wrote:
> > When waking vCPUs in the posted interrupt wakeup handling, do exactly
> > that and no more. There is no need to kick the vCPU as the wakeup
> > handler just need to get the vCPU task running, and if it's in the guest
> > then it's definitely running.
>
> And more important, the transition from blocking to running will have
> gone through sync_pir_to_irr, thus checking ON and manually moving the
> vector from PIR to RVI.
>
> Paolo
>
I also think so, and maybe this can be added to the commit message.
Anyway, last one for the series :)
Reviewed-by: Maxim Levitsky <mlevitsk@xxxxxxxxxx>
Best regards,
Maxim Levitsky