Re: fast_copy_page sections?!

Arjan van de Ven (arjanv@redhat.com)
20 Jun 2003 11:10:01 +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-22971-1056100346-0001-2
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2003-06-20 at 10:38, Karl Vogel wrote:
> In arch/i386/lib/mmx.c there is a function fast_copy_page() using some
> crafty asm statements. However I don't quite understand the part with the
> fixup sections?!=20

basically, if your cpu doesn't do prefetch, it will fault. The section
stuff adds an exception handler for this fault that zeroes out the
prefetch code so that next time there no longer is a prefetch() there.

--=_courier-22971-1056100346-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.2 (GNU/Linux)

iD8DBQA+8s9pxULwo51rQBIRArQzAJ4hKS6o2gjJ+8wdnvBFoa8z2VN2VwCZAX8z
xrF4CYjmrf1ZS6Vbw/uNz30=
=jgci
-----END PGP SIGNATURE-----

--=_courier-22971-1056100346-0001-2--