[ltt-dev] [URCU PATCH] atomic: provide seq_cst semantics on powerpc

Paolo Bonzini pbonzini at redhat.com
Thu Sep 22 03:53:14 EDT 2011


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




More information about the lttng-dev mailing list