[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] Re: [PATCH] Fix cpu offline bug



Jan, I'm not quite clear your meaning.
Why and where need to insert barrier, or volatile cpu_state?

Thanks,
Jinsong

Jan Beulich wrote:
>>>> On 05.03.11, Keir Fraser <keir.xen@xxxxxxxxx> wrote: Urk, good
>>>> point! 
> 
> But your fix still allows what the comment says it is supposed to
> avoid - simply introducing a variable doesn't help afaict, you also
> need to insert a barrier() to avoid a second read (or "cpu_state"
> would need to be volatile).
> 
> Jan
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.