commit | 1e696f638b523958ee3d95e655becdb4c4b6fcde | [log] [tgz] |
---|---|---|
author | Jeremy Fitzhardinge <jeremy@goop.org> | Wed Aug 20 17:02:20 2008 -0700 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Aug 21 13:52:58 2008 +0200 |
tree | fc633cd3d2d92c846463d2c7f476647de1dbc27a | |
parent | 994025caba3e6beade9bde84dd1b70d9d250f27b [diff] |
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>