From: Andi Kleen <ak@suse.de>
To: discuss@x86-64.org
Cc: Jes Sorensen <jes@sgi.com>,
"Bryan O'Sullivan" <bos@pathscale.com>,
linux-kernel@vger.kernel.org
Subject: Re: [discuss] Re: Why is wmb() a no-op on x86_64?
Date: Wed, 18 Jan 2006 18:31:01 +0100 [thread overview]
Message-ID: <200601181831.01688.ak@suse.de> (raw)
In-Reply-To: <yq04q41qxcw.fsf@jaguar.mkp.net>
On Wednesday 18 January 2006 18:06, Jes Sorensen wrote:
> >>>>> "Bryan" == Bryan O'Sullivan <bos@pathscale.com> writes:
>
> Bryan> On Wed, 2006-01-18 at 17:29 +0100, Andi Kleen wrote:
> >> Why do you need the barrier?
>
> Bryan> On x86_64, we fiddle with the MTRRs to enable write combining,
> Bryan> which makes a huge difference to performance. It's not clear
> Bryan> to me what we should even do on other architectures, since the
> Bryan> only generic entry point that even exposes write combining is
> Bryan> pci_mmap_page_range, which is for PCI mmap through userspace,
> Bryan> and half the arches I've looked at ignore its write_combine
> Bryan> parameter.
>
> A job for mmiowb() perhaps?
No, normal IO mappings are also not write combining on x86, so
it's not needed there.
I guess it's best to just define a wmb_wc() for i386/x86-64 right now
and use that in ipath. I suspect it won't compile anywhere else
anyways.
-Andi
next prev parent reply other threads:[~2006-01-18 17:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-18 16:23 Why is wmb() a no-op on x86_64? Bryan O'Sullivan
2006-01-18 16:29 ` Andi Kleen
2006-01-18 16:52 ` Bryan O'Sullivan
2006-01-18 17:06 ` Jes Sorensen
2006-01-18 17:23 ` Bryan O'Sullivan
2006-01-18 17:31 ` Andi Kleen [this message]
2006-01-19 10:03 ` [discuss] " Jes Sorensen
2006-01-18 20:07 ` Roland Dreier
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=200601181831.01688.ak@suse.de \
--to=ak@suse.de \
--cc=bos@pathscale.com \
--cc=discuss@x86-64.org \
--cc=jes@sgi.com \
--cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.