On Mon, Aug 13, 2012 at 02:03:51PM +0300, Avi Kivity wrote: > On 08/13/2012 02:01 PM, Gleb Natapov wrote: > >> > >> Actually this is overkill. Suppose we do an apicid->vcpu translation > >> cache? Then we retain O(1) behaviour, no need for a huge cache. > >> > > Not sure I follow. > > Unicast MSIs and IPIs can be speeded up by looking up the vcpu using the > apic id, using a static lookup table (only changed when the guest > updates apicid or a vcpu is inserted). Looks like kvm_apic_id is always 8 bit, so it's just a table with 256 entries? > > > -- > error compiling committee.c: too many arguments to function -- 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