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? Paolo
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? Paolo