Re: pre2.0.31-2

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 6 Jun 1997 08:38:59 +0100 (BST)


> 1) Suboptimal code cause by the over generality of the interface which
> does handle all cases by some clean interface.

Im unconvinced.

How about

writeback_cache_to_bus(void *low, int length,int flags)
flush_cache_of_bus(void *low, int length,int flags)

and adding the vremap_nocache option.

On a PC the routines do nothing, on other boxes they can do the work. Sort
of the way half the MMU hooks are null inlines on a PC, but exist to cope
with more annoying MMU's like the Sparc