From mboxrd@z Thu Jan 1 00:00:00 1970 From: pbonzini@redhat.com (Paolo Bonzini) Date: Tue, 20 Sep 2011 18:39:33 +0200 Subject: [ltt-dev] [URCU PATCH] cmm: provide lightweight rmb/wmb on PPC In-Reply-To: <20110920163125.GA31802@Krystal> References: <1316502769-576-1-git-send-email-pbonzini@redhat.com> <20110920163125.GA31802@Krystal> Message-ID: <4E78C1C5.2080001@redhat.com> 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