[parisc-linux] Fwd: Problems with raw interface.

Matthew Wilcox willy@debian.org
Fri, 26 Sep 2003 14:29:01 +0100


On Fri, Sep 26, 2003 at 05:56:52AM -0700, David S. Miller wrote:
> On Fri, 26 Sep 2003 18:41:41 +0530 (IST)
> SANTOSH ABRAHAM <santosha@india.hp.com> wrote:
> 
> > The problem in this case is page->mapping is NULL. 
> 
> When page->mapping is NULL, flush_dcache_page() should purge the page
> (by physical addres) from it's caches.  This is what sparc64 does.

But you can't do that on PA-RISC.  You can only purge virtual addresses.

> Flushing just the current address space is incorrect, so don't get the
> fancy idea to pass the 'mm' and 'va' into flush_dcache_page().

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk