Jeremy Fitzhardinge 06fc732c33 xen: disable interrupts before saving in percpu
Impact: Fix race condition

xen_mc_batch has a small preempt race where it takes the address of a
percpu variable immediately before disabling interrupts, thereby
leaving a small window in which we may migrate to another cpu and save
the flags in the wrong percpu variable.  Disable interrupts before
saving the old flags in a percpu.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2009-02-03 17:22:40 -08:00
..
2008-08-21 13:52:58 +02:00
2008-08-21 13:52:58 +02:00
2008-12-16 21:50:31 +01:00
2008-12-16 21:05:01 +01:00
2008-10-16 16:53:15 +02:00
2007-10-11 11:16:51 +02:00
2008-10-03 10:04:10 +02:00