On 08/13/2012 12:16 PM, Gleb Natapov wrote:
> Here is a quick prototype of what we discussed yesterday. This one
> caches only MSI interrupts for now. The obvious problem is that not
> all interrupts (namely IPIs and MSIs using KVM_CAP_SIGNAL_MSI) use irq
> routing table, so they cannot be cached.

Missing: switch the uncached path to a work queue, so we don't have to
iterate over all vcpus in interrupt context.

That isn't trivial; for edge-triggered interrupts we need to ignore
zeros (if polarity=0) but for level-triggered interrupts we need them to
override the previous setting.  But we don't know the trigger mode and
polarity at this point.


-- 
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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to