lkml.org 
[lkml]   [2002]   [Jan]   [1]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch] Prefetching file_read_actor()
DateTue, 1 Jan 2002 15:26:12 +0000 (GMT)
FromAlan Cox <>
> I've come up with a preload_cache() function (for want of a better name)
> and plonked that in prefetch.h for now. Having this #define to nothing
> on other arch's would mean we could use this in places like we currently
> do prefetch().  I'm still not happy with it, but its cleaner than my
> original hack.

copy_*_user_prefetched() is probably the one you need. Then you can prefetch
first for PIII, prefetch as copying for athlon etc. It will also provide
the needed hints about which copies are wins. 
-
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 12:15    [from the cache]
©2003-2008