[parisc-linux] 2.4.0-test6 lack of speed
Richard Hirst
rhirst@linuxcare.com
Wed, 30 Aug 2000 13:41:50 +0100
On Wed, Aug 30, 2000 at 01:17:52AM +0100, Matthew Wilcox wrote:
> Anyway, would either of Richard or Helge like to look over the lasi_82596
> driver and convert it to use the flush_kernel_dcache_range() interface
> or tell me why my code is no good and I suck? Ditto the sim700 driver
> actually. Are there any other drivers which have simply taken the
> lasi_82596 wback code and replicated it or are these the only two?
I'm not that happy with calling flush_kernel_dcache_range() from
drivers, when that function only exists on parisc. Most archs define
dma_cache_wback/dma_cache_inv/dma_cache_wback_inv, which, from the
descriptions in asm-ia64/io.h seem to be just what lasi_82596 and
sim700 need. The versions on parisc currently just flush_all_caches(),
but perhaps we should make all three call flush_kernel_dcache_range()?
I'll try that approach anyway.
Richard