lkml.org 
[lkml]   [2002]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: AUDIT: copy_from_user is a deathtrap.
Hi!

> > I believe I seen some strange memcpy for PPro (or something that
> > obscure) that done out-of-order accesses to trigger prefetch logic. I
> > can't find it any more, so I can't be sure...
>
> Its festering quietly in the glibc source tree where all large and
> dubiously justifiable hacks seem to end up

In such case, linus, here is your "reasonable" example. For PPro, it
is faster to copy out-of-order, and if we wanted to use that for
copy_to_user, you'd have your example.
Pavel
--
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:26    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site