Linux PARISC architecture development
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: Matthew Wilcox <willy@debian.org>
Cc: sct@redhat.com, willy@debian.org, santosh.abraham@hp.com,
	randolph@tausq.org, parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] Fwd:  Problems with raw interface.
Date: Fri, 26 Sep 2003 05:38:05 -0700	[thread overview]
Message-ID: <20030926053805.63bda07a.davem@redhat.com> (raw)
In-Reply-To: <20030926122023.GH24824@parcelfarce.linux.theplanet.co.uk>

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

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

I'm starting to think that flush_dcache_page() needs to take care
of this.

Santosh remarked that flush_dcache_page() doesn't get the user virtual
address, but that is not needed.  From the page you can walk the mmap()s
and flush the mapping in each address space it is contained within.

And you absolutely must flush each address space, not just the one currently
doing the raw I/O request.

In that light, doing a flush_cache_range() with a specific VMA (2.6.x)
or MM (2.4.x) is totally illogical here.

  reply	other threads:[~2003-09-26 12:51 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-25 10:38 [parisc-linux] Fwd: Problems with raw interface Santosh Abraham
2003-09-25 10:50 ` Randolph Chung
2003-09-25 11:19   ` Santosh Abraham
2003-09-25 14:26     ` Matthew Wilcox
2003-09-26  1:08       ` David S. Miller
2003-09-26 11:24         ` Matthew Wilcox
2003-09-26 11:20           ` David S. Miller
2003-09-26 11:57             ` Stephen C. Tweedie
2003-09-26 11:48               ` David S. Miller
2003-09-26 12:20                 ` Matthew Wilcox
2003-09-26 12:38                   ` David S. Miller [this message]
2003-09-26 13:11                     ` SANTOSH ABRAHAM
2003-09-26 12:56                       ` David S. Miller
2003-09-26 13:29                         ` Matthew Wilcox
2003-09-26 13:21                           ` David S. Miller
2003-09-26 14:09                             ` Matthew Wilcox
2003-09-26 14:04                               ` David S. Miller
2003-09-26 14:30                                 ` Matthew Wilcox
2003-09-26 14:20                                   ` David S. Miller
2003-09-26 14:42                                     ` Stephen C. Tweedie
2003-09-26 14:26                               ` Stephen C. Tweedie
2003-09-26 11:47           ` Santosh Abraham
2003-09-26 10:42       ` Santosh Abraham
2003-09-26 10:34         ` David S. Miller
2003-09-26 12:12           ` Santosh Abraham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030926053805.63bda07a.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=parisc-linux@lists.parisc-linux.org \
    --cc=randolph@tausq.org \
    --cc=santosh.abraham@hp.com \
    --cc=sct@redhat.com \
    --cc=willy@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox