lkml.org 
[lkml]   [2009]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2009-02-04 02:29    [W:0.030 / U:1.696 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site