From: Peter Zijlstra <a.p.zijlstra@chello.nl>
To: Andrew Morton <akpm@osdl.org>
Cc: Hugh Dickins <hugh@veritas.com>, Ken Chen <kenchen@google.com>,
linux-mm@kvack.org
Subject: Re: [patch] not to disturb page LRU state when unmapping memory range
Date: Wed, 31 Jan 2007 23:25:00 +0100 [thread overview]
Message-ID: <1170282300.10924.50.camel@lappy> (raw)
In-Reply-To: <20070131140450.09f174e9.akpm@osdl.org>
On Wed, 2007-01-31 at 14:04 -0800, Andrew Morton wrote:
> > Andrew, any strong opinions?
>
> Not really. If we change something in there, some workloads will get
> better, some will get worse and most will be unaffected and any regressions
> we cause won't be known until six months later. The usual deal.
>
> Remember that all this info is supposed to be estimating what is likely to
> happen to this page in the future - we're not interested in what happened
> in the past, per-se.
>
> I'd have thought that if multiple processes are touching the same
> page, this is a reason to think that the page will be required again in the
> immediate future. But you seem to think otherwise?
Yes, why would unmapping a range make the pages more likely to be used
in the immediate future than otherwise indicated by their individual
young bits?
Even the opposite was suggested, that unmapping a range makes it less
likely to be used again.
> > If only I could come up with a proper set of tests that covers all
> > this...
>
> Well yes, that's rather a sore point. It's tough. I wonder what $OTHER_OS
> developers have done. Probably their tests are priority ordered by
> $market_share of their user's applications :(
Still requires them to set up and run said programs. If we could get a
suite of programs that we consider interesting....
Just hoping, I seem to be stuck with quite a lot of code without means
of evaluation.
--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2007-01-31 22:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-31 4:41 [patch] not to disturb page LRU state when unmapping memory range Ken Chen
2007-01-31 12:26 ` Peter Zijlstra
2007-01-31 19:15 ` Balbir Singh
2007-01-31 19:30 ` Christoph Lameter
2007-01-31 18:02 ` Hugh Dickins
2007-01-31 21:43 ` Peter Zijlstra
2007-01-31 21:51 ` Ken Chen
2007-01-31 22:04 ` Andrew Morton
2007-01-31 22:25 ` Peter Zijlstra [this message]
2007-01-31 22:48 ` Andrew Morton
2007-01-31 23:52 ` Peter Zijlstra
2007-02-01 0:33 ` Andrew Morton
2007-02-01 3:21 ` Rik van Riel
2007-02-01 3:13 ` Rik van Riel
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=1170282300.10924.50.camel@lappy \
--to=a.p.zijlstra@chello.nl \
--cc=akpm@osdl.org \
--cc=hugh@veritas.com \
--cc=kenchen@google.com \
--cc=linux-mm@kvack.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;
as well as URLs for NNTP newsgroup(s).