[parisc-linux] Fwd: Problems with raw interface.
Fri, 26 Sep 2003 17:17:34 +0530
The flush_dcache_page () might be required in cases when the
same user buffer is being used for both reads and writes in an
alternating fashion, right ?
From: email@example.com [mailto:firstname.lastname@example.org]On Behalf Of
Sent: Friday, September 26, 2003 4:54 PM
To: David S. Miller
Cc: Matthew Wilcox; email@example.com; firstname.lastname@example.org;
Subject: Re: [parisc-linux] Fwd: Problems with raw interface.
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 <email@example.com> wrote:
> > I think you're right. flush_dcache_page is for page cache pages, not
> > 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
Do you think I want to have an academic debate on this subject?" -- Robert