From: Paul Mackerras <paulus@samba.org>
To: Jon Loeliger <jdl@freescale.com>
Cc: "linuxppc-dev@ozlabs.org" <linuxppc-dev@ozlabs.org>,
linuxppc64-dev <linuxppc64-dev@ozlabs.org>
Subject: Re: Merge Question on asm-ppc*/rwsem.h
Date: Mon, 19 Sep 2005 09:22:25 +1000 [thread overview]
Message-ID: <17197.63153.78371.490616@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <1126631205.11056.15.camel@cashmere.sps.mot.com>
Jon Loeliger writes:
> Which begs the question, what is the "else smp_wmb();" clause
> really doing for us in the ppc32 case, and can we either
> get rid of it, or is it safe to add to the ppc64 case?
I think the difference is that the atomic ops that return a value also
have include a barrier on ppc64, but don't on ppc32 (although they
probably should). IOW I think the merged case should follow ppc64
here.
Paul.
next prev parent reply other threads:[~2005-09-18 23:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-13 17:06 Merge Question on asm-ppc*/rwsem.h Jon Loeliger
2005-09-18 23:22 ` Paul Mackerras [this message]
2005-09-19 2:20 ` Jon Loeliger
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=17197.63153.78371.490616@cargo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=jdl@freescale.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=linuxppc64-dev@ozlabs.org \
/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