On Tue, Apr 17, 2012 at 01:29:04PM +0300, Avi Kivity wrote:
> On 04/17/2012 01:26 PM, Gleb Natapov wrote:
> > > It isn't, since you need to send an IPI.
> > > 
> > That is exactly what I forget whether you can send IPI from there :)
> > Anyway this is another reason.
> >
> 
> Actually I was wrong.  You can't smp_call_function_single() from irq
> context (deadlocks if two vcpus do that), but we send a reschedule
> interrupt.  So it should work.
> 
Ah, good point. So if we'll use irqsave versions of spinlocks we can
drop kthread?

--
                        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

Reply via email to