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

Matthew Wilcox willy@debian.org
Fri, 26 Sep 2003 13:20:23 +0100


On Fri, Sep 26, 2003 at 04:48:41AM -0700, David S. Miller wrote:
> On 26 Sep 2003 12:57:01 +0100
> "Stephen C. Tweedie" <sct@redhat.com> wrote:
> 
> > On Fri, 2003-09-26 at 12:20, David S. Miller wrote:
> > 
> > > Are you sure?  Isn't raw I/O allowed on user buffers backed by
> > > some kind of file based mmap()?
> > 
> > Yes, it is.
> 
> So there we go, that's how page can be a page cache page Matthew.

OK, so it *might* be a page cache page, but isn't necessarily.  So we
need to call *both* flush_dcache_page() and flush_cache_range(), right?

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