From: "David S. Miller" <davem@redhat.com>
To: riel@conectiva.com.br
Cc: hugh@veritas.com, akpm@digeo.com, dmccr@us.ibm.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] flush_cache_page while pte valid
Date: Tue, 12 Nov 2002 13:45:52 -0800 (PST) [thread overview]
Message-ID: <20021112.134552.04696764.davem@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.44L.0211121248540.3817-100000@imladris.surriel.com>
From: Rik van Riel <riel@conectiva.com.br>
Date: Tue, 12 Nov 2002 12:49:50 -0200 (BRST)
On Mon, 11 Nov 2002, David S. Miller wrote:
> The flush merely writes back the data, a copy-back operation, fully L2
> cache coherent. All cpus will see correct data if an intermittant
> store occurs.
The CPUs will, but the harddisk might not.
We really need to get this right in the swapout path.
We do get it right, watch:
1) remove last mapping instance of page
-> MM level cache flush pushes it permanently to ram
in full view of DMA activity
2) remove last mapping, but new one appears as we swap out
-> no problem we'll see one of several instances of the
page and we'll need to reswap it out later anyways
if someone currently writes to it
I know this because I tested this extensively ages ago on sparc32
where it really mattered.
next prev parent reply other threads:[~2002-11-12 21:40 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-11 18:25 Hugh Dickins
2002-11-11 18:35 ` Andrew Morton
2002-11-11 23:19 ` David S. Miller
2002-11-11 23:34 ` [PATCH] [RFC] increase MAX_ADDR_LEN Roland Dreier
2002-11-11 23:38 ` David S. Miller
2002-11-11 23:58 ` Roland Dreier
2002-11-12 0:18 ` Alan Cox
2002-11-12 0:01 ` Roland Dreier
2002-11-12 14:23 ` Alan Cox
2002-11-12 14:20 ` Folkert van Heusden
2002-11-12 15:14 ` Roland Dreier
2002-11-12 16:00 ` Alan Cox
2002-11-12 15:50 ` YOSHIFUJI Hideaki / 吉藤英明
2002-11-12 20:36 ` Roland Dreier
2002-11-12 22:31 ` David S. Miller
2002-11-12 22:39 ` Roland Dreier
2002-12-04 18:31 ` rtnetlink replacement for SIOCSIFHWADDR Roland Dreier
2002-12-04 20:11 ` Andi Kleen
2002-12-31 23:11 ` [PATCH] increase MAX_ADDR_LEN Roland Dreier
2003-01-06 15:52 ` [PATCH] increase MAX_ADDR_LEN (resend) Roland Dreier
2003-01-06 23:29 ` David S. Miller
2003-01-07 8:58 ` [PATCH] increase MAX_ADDR_LEN David S. Miller
2002-11-12 6:53 ` [PATCH] flush_cache_page while pte valid Hugh Dickins
2002-11-12 6:53 ` David S. Miller
2002-11-12 14:49 ` Rik van Riel
2002-11-12 21:45 ` David S. Miller [this message]
2002-11-12 17:43 ` Hugh Dickins
2002-11-12 21:51 ` David S. Miller
2002-11-12 22:59 ` Hugh Dickins
2002-11-11 21:20 Manfred Spraul
2002-11-12 0:37 ` Russell King
2002-11-12 1:08 Ulrich Weigand
2002-11-12 20:53 Manfred Spraul
2002-11-12 22:01 ` David S. Miller
2002-11-12 21:32 Ulrich Weigand
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=20021112.134552.04696764.davem@redhat.com \
--to=davem@redhat.com \
--cc=akpm@digeo.com \
--cc=dmccr@us.ibm.com \
--cc=hugh@veritas.com \
--cc=linux-kernel@vger.kernel.org \
--cc=riel@conectiva.com.br \
/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
Powered by JetHome