WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Linux questions

>>> Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx> 03.12.07 12:29 >>>
>Jan Beulich, le Mon 03 Dec 2007 11:24:35 +0000, a écrit :
>> 2) What is the reason for the inconsistent use of rmb() vs. barrier() in
>> time-xen.c? It would seem to me that rmb() should be sufficient in all
>> cases.
>
>rmb() is more powerful than barrier(), not the converse.

Oh, sorry, I mixed barrier() with mb(). So the proposal would then simply
be the other way around (the use of locked operations or fence instructions
on x86 is really unnecessary as long as WC memory or non-temporal stores
don't need to be taken into consideration).

Jan

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