Home
last modified time | relevance | path

Searched hist:"1 e696f63" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/x86/xen/
H A Dspinlock.c1e696f63 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>
1e696f63 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>