public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Manfred Spraul <manfred@colorfullife.com>
To: Matthew Wilcox <willy@debian.org>,
	"David S. Miller" <davem@redhat.com>,
	linux-kernel@vger.kernel.org, Russell King <rmk@arm.linux.org.uk>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: [PATCH] shmem missing cache flush
Date: Mon, 28 Oct 2002 17:50:41 +0100	[thread overview]
Message-ID: <3DBD6AE1.8040403@colorfullife.com> (raw)

Is it permitted to call flush_dcache_page() on pages that are not in the 
page cache?
The documentation is ambiguous, it only mentions how archs can handle 
dcache aliases for page cache users.

What about the user space accesses that kmap user space pages directly, 
without copy_*_user?

For example:
- ptrace
- disk transfers that end up calling __bio_kmap() - RAID-5, ide error 
handling.
    Could be from irq context!
- hole handling for O_DIRECT file access.

In all 3 cases, the target could be outside of the page cache.

--
    Manfred


             reply	other threads:[~2002-10-28 16:44 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-28 16:50 Manfred Spraul [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-10-16 18:26 [PATCH] shmem missing cache flush Matthew Wilcox
2002-10-16 23:57 ` Hugh Dickins
2002-10-16 23:58   ` David S. Miller
2002-10-17  0:19     ` Russell King
2002-10-17  0:16       ` David S. Miller
2002-10-21 15:04         ` Alan Cox
2002-10-21 15:21           ` David S. Miller
2002-10-21 16:12             ` Alan Cox
2002-10-28 14:10               ` David S. Miller
2002-10-28 14:32                 ` Matthew Wilcox
2002-10-28 14:26                   ` David S. Miller
2002-10-28 16:36                     ` Matthew Wilcox
2002-10-28 16:55                       ` David S. Miller
2002-10-28 17:06                         ` Matthew Wilcox
2002-10-28 16:58                           ` David S. Miller
2002-10-29 21:52                             ` Matthew Wilcox
2002-10-28 17:08                       ` Alan Cox
2002-10-28 16:52                         ` Matthew Wilcox
2002-10-28 14:35                 ` Hugh Dickins
2002-10-28 14:26                   ` David S. Miller

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=3DBD6AE1.8040403@colorfullife.com \
    --to=manfred@colorfullife.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=davem@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk@arm.linux.org.uk \
    --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