Searched hist:"1 e696f638b523958ee3d95e655becdb4c4b6fcde" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/x86/xen/ |
H A D | spinlock.c | diff 1e696f638b523958ee3d95e655becdb4c4b6fcde Wed Aug 20 19:02:20 CDT 2008 Jeremy Fitzhardinge <jeremy@goop.org> xen: allow interrupts to be enabled while doing a blocking spin
If spin_lock is called in an interrupts-enabled context, we can safely enable interrupts while spinning. We don't bother for the actual spin loop, but if we timeout and fall back to blocking, it's definitely worthwhile enabling interrupts if possible.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Acked-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
|