lkml.org 
[lkml]   [2003]   [Jun]   [20]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: fast_copy_page sections?!
FromArjan van de Ven <>
Date20 Jun 2003 11:10:01 +0200
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?! 

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.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 12:36    [from the cache]
©2003-2008