From: Jeremy Fitzhardinge Date: Wed, 4 Feb 2009 00:01:46 +0000 (-0800) Subject: xen: disable interrupts before saving in percpu X-Git-Tag: v2.6.29-rc4~50^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06fc732c33a7ff5e4c91bcf4a6ca86b5e335ad9a;p=pandora-kernel.git 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 Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed