From: Andrea Arcangeli <andrea@suse.de>
To: Andrew Morton <akpm@zip.com.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.19pre7aa1
Date: Sat, 20 Apr 2002 23:38:41 +0200 [thread overview]
Message-ID: <20020420233841.O1291@dualathlon.random> (raw)
In-Reply-To: <20020420194213.K1291@dualathlon.random> <3CC1C38F.37D1F8C2@zip.com.au>
On Sat, Apr 20, 2002 at 12:37:51PM -0700, Andrew Morton wrote:
> Andrea Arcangeli wrote:
> >
> > ...
> > Only in 2.4.19pre6aa1: 00_prepare-write-fixes-2
> > Only in 2.4.19pre7aa1: 00_prepare-write-fixes-3
> >
> > Add a missing flush_dcache_page() to the prepare write corruption
> > fixes. Noticed by Andrew Morton.
> >
>
> Why do we perform those "flushes"[1] at all? The memsets should
> never occur when the page is mapped into any process tables.
The dcache flushes are necessary before the page is mapped, to keep
track which pages we need to flush from the kernel address space
during the page fault right before we map them into userspace (i.e.
during flush_icache_page). We're not really flushing the cache there, we
only keeps track of it through the arch bitflag.
Andrea
next prev parent reply other threads:[~2002-04-20 21:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-20 17:42 2.4.19pre7aa1 Andrea Arcangeli
2002-04-20 19:37 ` 2.4.19pre7aa1 Andrew Morton
2002-04-20 21:38 ` Andrea Arcangeli [this message]
2002-04-20 22:12 ` 2.4.19pre7aa1 Ruth Ivimey-Cook
2002-04-20 22:56 ` 2.4.19pre7aa1 J. Dow
2002-04-21 0:09 ` 2.4.19pre7aa1 Anton Blanchard
2002-04-20 23:57 ` 2.4.19pre7aa1 Anton Blanchard
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=20020420233841.O1291@dualathlon.random \
--to=andrea@suse.de \
--cc=akpm@zip.com.au \
--cc=linux-kernel@vger.kernel.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