Re: APIC lookups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2011-09-02 at 20:55 +0300, Sasha Levin wrote:
> Hi,
> 
> I've noticed that kvm_irq_delivery_to_apic() is locating the destination
> APIC by running through kvm_for_each_vcpu() which becomes a scalability
> issue with a large number if vcpus.
> 
> I'm thinking about speeding that up using a radix tree for lookups, and
> was wondering if it sounds right.
> 

Can also go with a simple sorted array since APIC id is limited to 8
bits, but it might need to change if we plan on supporting more than 254
vcpus in the future.

-- 

Sasha.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux