Re: [PATCH v4 RESEND 3/5] KVM: x86: hyperv: use get_vcpu_by_vpidx() in kvm_hv_flush_tlb()
From
Paolo Bonzini <>
Date
Fri, 14 Sep 2018 19:33:34 +0200
On 22/08/2018 12:18, Vitaly Kuznetsov wrote: > VP_INDEX almost always matches VCPU id and get_vcpu_by_vpidx() is fast, > use it instead of traversing full vCPU list every time.
... but if it doesn't, the algorithm is now quadratic, isn't i?