[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4988EE04.7090006@kernel.org>
Date: Tue, 03 Feb 2009 17:23:16 -0800
From: "H. Peter Anvin" <hpa@...nel.org>
To: Jeremy Fitzhardinge <jeremy@...p.org>
CC: Ingo Molnar <mingo@...e.hu>,
the arch/x86 maintainers <x86@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Xen-devel <xen-devel@...ts.xensource.com>,
Stable Kernel <stable@...nel.org>
Subject: Re: [PATCH] xen: disable interrupts before saving in percpu
Jeremy Fitzhardinge wrote:
> 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.
Applied to tip:core/xen, thanks!
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists