Re: Memory Barrier Definitions

justincarlson@cmu.edu
07 May 2002 18:15:50 -0400


--=-DVwoIHhZOh96fRnw5VE2
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2002-05-07 at 16:27, Alan Cox wrote:
> and our current heirarchy is a little bit more squashed than that. I'd=20
> agree. We actually hit a corner case of this on the IDT winchip x86 where
> we run relaxed store ordering and have to define wmb() as a locked add of
> zero to the top of stack - which does have a penalty that isnt needed
> for CPU ordering.
>=20
> How much of this impacts Mips64 ?

In terms of the MIPS{32|64} ISA, the current primitives seem fine;
there's only 1 option defined in the ISA: 'sync'. Order for all
off-cache accesses is guaranteed around a sync.

It gets a bit more complicated when you talk about what particular
implementations do, and ordering rules for uncached vs cached accesses,
but to the best of my knowledge there aren't any fundamental problems as
described for the PPC.

-Justin

--=-DVwoIHhZOh96fRnw5VE2
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA82FIV47Lg4cGgb74RAnDlAKDHoFrOfxYmSy+knzQjz8zz31JecwCggr6Q
YferDGlpy6aHA6IvI4DrD4w=
=jLhA
-----END PGP SIGNATURE-----

--=-DVwoIHhZOh96fRnw5VE2--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/