Re: [PATCH] Runtime memory barrier patching

Arjan van de Ven (arjanv@redhat.com)
22 Apr 2003 10:43:58 +0200


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-29088-1051001081-0001-2
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2003-04-22 at 01:23, Linux Kernel Mailing List wrote:
> ChangeSet 1.1169, 2003/04/21 16:23:20-07:00, ak@muc.de
>=20
> [PATCH] Runtime memory barrier patching
> =09
> This implements automatic code patching of memory barriers based
> on the CPU capabilities. Normally lock ; addl $0,(%esp) barriers
> are used, but these are a bit slow on the Pentium 4.
> =09

very nice. Question: would it be doable use this for prefetch() as well?
Eg default to a non-prefetch kernel and patch in the proper prefetch
instruction for the current cpu ? (eg AMD prefetch vs Intel one etc etc)

--=_courier-29088-1051001081-0001-2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA+pQDOxULwo51rQBIRAmNlAKCI1BcPr2kijggOyagr3YBsMtCwmwCdG0iM
h7UmKcIYm/2dxk50++2WTes=
=nqg1
-----END PGP SIGNATURE-----

--=_courier-29088-1051001081-0001-2--