From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Andy Isaacson <adi@hexapodia.org>,
moreau francis <francis_moreau2000@yahoo.fr>,
"linux-os (Dick Johnson)" <linux-os@analogic.com>,
linux-kernel@vger.kernel.org
Subject: Re: question on memory barrier
Date: Wed, 24 Aug 2005 14:22:15 -0700 [thread overview]
Message-ID: <200508241422.15751.jbarnes@virtuousgeek.org> (raw)
In-Reply-To: <1124919935.13833.3.camel@localhost.localdomain>
On Wednesday, August 24, 2005 2:45 pm, Alan Cox wrote:
> And in more detail from the deviceiobook..
>
> <para>
> In addition to write posting, on some large multiprocessing
> systems
> (e.g. SGI Challenge, Origin and Altix machines) posted writes
> won't
> be strongly ordered coming from different CPUs. Thus it's
> important
> to properly protect parts of your driver that do memory-mapped
> writes
> with locks and use the <function>mmiowb</function> to make
> sure they
> arrive in the order intended. Issuing a regular
> <function>readX </function> will also ensure write ordering, but
> should only be used
> when the driver has to be sure that the write has actually
> arrived
> at the device (not that it's simply ordered with respect to
> other
> writes), since a full <function>readX</function> is a
> relatively expensive operation.
> </para>
Yeah, wrote that too :). io_ordering.txt should probably just get folded
into deviceiobook at some point... Or we could just replace both with
URL pointers to LDD vol. 3. ;)
Jesse
next prev parent reply other threads:[~2005-08-24 21:22 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-24 12:43 moreau francis
2005-08-24 13:04 ` linux-os (Dick Johnson)
2005-08-24 17:31 ` moreau francis
2005-08-24 18:22 ` linux-os (Dick Johnson)
2005-08-24 19:32 ` Oliver Neukum
2005-08-24 19:47 ` linux-os (Dick Johnson)
2005-08-24 19:55 ` Oliver Neukum
2005-08-24 19:48 ` Andy Isaacson
2005-08-24 19:53 ` Jesse Barnes
2005-08-24 21:45 ` Alan Cox
2005-08-24 21:22 ` Jesse Barnes [this message]
2005-08-24 20:03 ` linux-os (Dick Johnson)
2005-08-24 20:21 ` Oliver Neukum
2005-08-25 2:25 ` David Schwartz
2005-08-25 8:49 ` Denis Vlasenko
2005-08-25 9:14 ` moreau francis
2005-08-25 10:07 ` Alan Cox
2005-08-25 14:54 ` Andy Isaacson
2005-08-26 7:21 ` moreau francis
2005-08-26 10:37 ` Maciej W. Rozycki
2005-08-25 10:32 ` Maciej W. Rozycki
2005-08-24 21:57 ` Alan Cox
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=200508241422.15751.jbarnes@virtuousgeek.org \
--to=jbarnes@virtuousgeek.org \
--cc=adi@hexapodia.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=francis_moreau2000@yahoo.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-os@analogic.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
all inboxes | Powered by JetHome®