[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <66fd6180-8e8b-1f9c-90f1-a55af1467388@redhat.com>
Date: Thu, 30 Apr 2020 15:32:16 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Wanpeng Li <kernellwp@...il.com>, linux-kernel@...r.kernel.org,
kvm@...r.kernel.org
Cc: Sean Christopherson <sean.j.christopherson@...el.com>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
Wanpeng Li <wanpengli@...cent.com>,
Jim Mattson <jmattson@...gle.com>,
Joerg Roedel <joro@...tes.org>,
Haiwei Li <lihaiwei@...cent.com>
Subject: Re: [PATCH v4 5/7] KVM: VMX: Optimize posted-interrupt delivery for
timer fastpath
On 28/04/20 08:23, Wanpeng Li wrote:
> - if (exit_fastpath == EXIT_FASTPATH_REENTER_GUEST &&
> - kvm_vcpu_exit_request(vcpu))
> - exit_fastpath = EXIT_FASTPATH_NOP;
> + if (exit_fastpath == EXIT_FASTPATH_REENTER_GUEST) {
> + if (!kvm_vcpu_exit_request(vcpu))
> + vmx_sync_pir_to_irr(vcpu);
> + else
> + exit_fastpath = EXIT_FASTPATH_NOP;
> + }
This part should be in patch 3; not a big deal, I can reorganize that
myself.
Paolo
Powered by blists - more mailing lists