From mboxrd@z Thu Jan 1 00:00:00 1970 From: pbonzini@redhat.com (Paolo Bonzini) Date: Thu, 22 Sep 2011 09:53:14 +0200 Subject: [ltt-dev] [URCU PATCH] atomic: provide seq_cst semantics on powerpc In-Reply-To: <20110922002712.GA8516@Krystal> References: <1316502769-576-2-git-send-email-pbonzini@redhat.com> <20110920163518.GB31802@Krystal> <20110921235623.GI2394@linux.vnet.ibm.com> <20110922002712.GA8516@Krystal> Message-ID: <4E7AE96A.8060307@redhat.com> On 09/22/2011 02:27 AM, Mathieu Desnoyers wrote: > Paolo: if you are interested in optimising powerpc uatomic ops further, > add, sub, inc, dec, "or", "and", basically anything that is not > xchg/add_return/cmpxchg could use versions of the cmpxchg that does not > have the lwsync/sync barriers. Or they could just be rewritten in assembly with a manual ll/sc loop. Paolo