From: Momchil Velikov <velco@fadata.bg>
To: linuxppc-dev@lists.linuxppc.org
Subject: powerpc wmb()
Date: 18 Nov 2001 14:58:27 +0200 [thread overview]
Message-ID: <8766885j7w.fsf@fadata.bg> (raw)
wmb is defined as
#define wmb() __asm__ __volatile__ ("eieio" : : : "memory")
however, ``eieio'' has no effect on memory, that is
Write Through Not Required, thus I think it should be
#define wmb() __asm__ __volatile__ ("sync" : : : "memory")
Comments ?
Regards,
-velco
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next reply other threads:[~2001-11-18 12:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-18 12:58 Momchil Velikov [this message]
2001-11-18 13:13 ` powerpc wmb() Anton Blanchard
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=8766885j7w.fsf@fadata.bg \
--to=velco@fadata.bg \
--cc=linuxppc-dev@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).