Re: [PATCH v10 2/2] kvm: Add resampling irqfds for level triggeredinterrupts

From: Avi Kivity
Date: Wed Sep 19 2012 - 05:10:52 EST


On 09/19/2012 12:08 PM, Michael S. Tsirkin wrote:

>> Whoa. Can't we put the resampler entry somewhere we don't need to
>> search for it? Like a kvm_kernel_irq_routing_entry, that's indexed by
>> gsi already (kvm_irq_routing_table::rt_entries[gsi]).
>
> I'm not sure why would we bother optimizing this,

Not optimizing, simplifying.

> but if we do, I guess we could look for the irq notifier
> which is already indexed by gsi.

It's not, it's looked up in a list.

--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/