Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: pbonzini@redhat.com (Paolo Bonzini)
Subject: [ltt-dev] [URCU PATCH] atomic: provide seq_cst semantics on powerpc
Date: Thu, 22 Sep 2011 09:53:14 +0200	[thread overview]
Message-ID: <4E7AE96A.8060307@redhat.com> (raw)
In-Reply-To: <20110922002712.GA8516@Krystal>

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



  reply	other threads:[~2011-09-22  7:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-20  7:12 Paolo Bonzini
2011-09-20 16:35 ` Mathieu Desnoyers
2011-09-21 23:56   ` Paul E. McKenney
2011-09-22  0:27     ` Mathieu Desnoyers
2011-09-22  7:53       ` Paolo Bonzini [this message]
2011-09-22  9:13         ` Mathieu Desnoyers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E7AE96A.8060307@redhat.com \
    --to=pbonzini@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox