[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [Patch] don't spin with irq disabled
>>> Juergen Gross <juergen.gross@xxxxxxxxxxxxxxxxxxx> 26.03.09 10:00 >>> >Attached patch reduces interrupt latency in lock handling. >spin_lock_irq and spin_lock_irqsave used to turn off IRQs and then tried to >get the lock. If the lock was already held, waiting for the lock was done with >IRQs still off. >The patch reenables IRQs during the wait loop. This is wrong - you must not enable interrupts if they weren't enabled upon entry to these two functions. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |