[parisc-linux] Re: [parisc-linux-cvs] linux tsbogend

Thomas Bogendoerfer tsbogend@alpha.franken.de
Sun, 30 Sep 2001 14:35:50 +0200


On Sun, Sep 30, 2001 at 08:01:43AM +0100, Matthew Wilcox wrote:
> On Sat, Sep 29, 2001 at 10:42:33AM -0600, Thomas Bogendoerfer wrote:
> > Log message:
> > we need to flush pages used inside the kernel and passed to user processes
> > otherwise because of the virtual alias we get mixed writebacks.
> > FIMXE: flush_data_cache() isn't a very well optimized function for this
> > purpose
> 
> flush_dcache_page() is perhaps the function you are looking for?  I'm
> not sure I understand what the problem is since you didn't post a diff.

flush_kernel_dcache_page() works and it should even be the right fix.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea.                                 [ Alexander Viro on linux-kernel ]