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

Matthew Wilcox willy@debian.org
Fri, 26 Sep 2003 12:24:00 +0100


On Thu, Sep 25, 2003 at 06:08:48PM -0700, David S. Miller wrote:
> 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.

But this isn't a page cache page.

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

-- 
"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