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

David S. Miller davem@redhat.com
Fri, 26 Sep 2003 05:56:52 -0700

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.

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().