[ltt-dev] [URCU PATCH] cmm: provide lightweight rmb/wmb on PPC

Paolo Bonzini pbonzini at redhat.com
Tue Sep 20 12:39:33 EDT 2011


On 09/20/2011 06:31 PM, Mathieu Desnoyers wrote:
> I don't think lwsync orders non-cacheable memory operations. Therefore,
> is it the right choice for cmm_rmb/cmm_wmb ?

I think you're right. "eieio;lwsync" is good for rmb, lwsync is good for 
wmb/smp_rmb/smp_wmb.

Paolo




More information about the lttng-dev mailing list