Copy prefetch optimizations and non-coherent caches

2003-10-08 Thread Matt Porter
On Sat, Sep 06, 2003 at 11:20:11PM +1000, Paul Mackerras wrote: > > Eugene Surovegin writes: > > I think we should disable prefetch if CONFIG_NONCOHERENT_CACHE is defined. > > Other more complex solutions are possible, e.g. we can still prefetch our > > own buffer but don't touch anything outside

Copy prefetch optimizations and non-coherent caches

2003-09-09 Thread Eugene Surovegin
At 06:20 AM 9/6/2003, Paul Mackerras wrote: > > I think we should disable prefetch if CONFIG_NONCOHERENT_CACHE is defined. > > Other more complex solutions are possible, e.g. we can still prefetch our > > own buffer but don't touch anything outside (I'll try to do some > > performance testing to d

Copy prefetch optimizations and non-coherent caches

2003-09-06 Thread Paul Mackerras
Eugene Surovegin writes: > There are read prefetch optimization in several PPC specific functions > responsible for copying memory (copy_page, __copy_tofrom_user). Current > implementations will try to prefetch up to 4 (MAX_COPY_PREFETCH) cache > lines _after_ the end of the source buffer. > > Un

Copy prefetch optimizations and non-coherent caches

2003-09-05 Thread Eugene Surovegin
Hi all! There are read prefetch optimization in several PPC specific functions responsible for copying memory (copy_page, __copy_tofrom_user). Current implementations will try to prefetch up to 4 (MAX_COPY_PREFETCH) cache lines _after_ the end of the source buffer. Unfortunately, it's not a good