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

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


 


Rackspace

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