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

David S. Miller davem@redhat.com
Thu, 25 Sep 2003 18:08:48 -0700

On Thu, 25 Sep 2003 15:26:23 +0100
Matthew Wilcox <willy@debian.org> wrote:

> I think you're right.  flush_dcache_page is for page cache pages, not for
> random user addresses.  Would something like this make sense?

The flush_dcache_page() is needed in case the platform has deferred
the flushing for a kernel cpu store to a page cache page.

You cannot just delete this call and replace it with a flush_cache_range()
call, that simply won't work.