[Top] [All Lists]

Re: [patch] linux 2.4.17: An mb() rework

To: Ralf Baechle <>
Subject: Re: [patch] linux 2.4.17: An mb() rework
From: "Maciej W. Rozycki" <>
Date: Tue, 5 Feb 2002 11:33:23 +0100 (MET)
Cc: Jason Gunthorpe <>,,
In-reply-to: <>
Organization: Technical University of Gdansk
On Mon, 4 Feb 2002, Ralf Baechle wrote:

> Bugs due to surprise memory reordering are entirely unfun to debug, so be
> paranoid.  They're out there to get you ...

 The rule of thumb is to use barriers whenever a *device* requires them
and depend on the platform to define them appropriately.  They will expand
to nothing if unneeded, so there is no trade-off.

+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+        e-mail:, PGP key available        +

<Prev in Thread] Current Thread [Next in Thread>