From: Andrew Morton <akpm@zip.com.au>
To: Daniel Phillips <phillips@arcor.de>
Cc: Rik van Riel <riel@conectiva.com.br>,
"linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: Re: MAP_SHARED handling
Date: Thu, 05 Sep 2002 10:47:58 -0700 [thread overview]
Message-ID: <3D7798CE.D74518F1@zip.com.au> (raw)
In-Reply-To: <E17mzs8-00068y-00@starship>
Daniel Phillips wrote:
>
> ...
>
> Why not just ensure the page is scheduled for writing, sometime,
> we don't care exactly when as long as it's relatively soon. Just bump
> the page's mapping to the hot end of your writeout list and let things
> take their course.
Good point. Marking the pages dirty and not starting IO on them
exposes them to pdflush. Chances are, by the time those pages
come around again, they'll all be under writeback or clean.
And, umm, yes. If a pass across all the zones in the classzone
doesn't free enough stuff, we run wakeup_bdflush() and then
take an up-to-quarter-second nap. So pdflush will immediately
start working on all those pages which we just marked dirty.
It looks about right.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
prev parent reply other threads:[~2002-09-05 17:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-05 7:20 Andrew Morton
2002-09-05 12:35 ` Rik van Riel
2002-09-05 16:52 ` Daniel Phillips
2002-09-05 17:47 ` Andrew Morton [this message]
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=3D7798CE.D74518F1@zip.com.au \
--to=akpm@zip.com.au \
--cc=linux-mm@kvack.org \
--cc=phillips@arcor.de \
--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