On Wed, Apr 21, 2010 at 12:58:41PM -0300, Marcelo Tosatti wrote:
> > Or could we make kvm_set_irq() atomic? Though the code path is a little
> > long
> > for spinlock.
>
> Yes, given the sleep-inside-RCU-protected section bug from
> kvm_notify_acked_irq, either that or convert IRQ locking to SRCU.
>
> But as you said, the code paths are long and potentially slow, so
> probably SRCU is a better alternative.
>
> Gleb?
kvm_set_irq() was converted to rcu from mutex to make msix interrupt
injection scalable.
--
Gleb.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html