From: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
To: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Magnus Damm <magnus.damm@gmail.com>,
Magnus Damm <magnus@valinux.co.jp>,
linux-mm@kvack.org, Magnus Damm <damm@opensource.se>,
Peter Zijlstra <peter@programming.kicks-ass.net>
Subject: Re: [RFC] Removing page->flags
Date: Fri, 10 Feb 2006 23:30:37 -0600 [thread overview]
Message-ID: <20060211053037.GA3331@dmt.cnet> (raw)
In-Reply-To: <43EAD524.6020105@yahoo.com.au>
On Thu, Feb 09, 2006 at 04:37:40PM +1100, Nick Piggin wrote:
> Magnus Damm wrote:
>
> >But introducing a second page->flags is out of the question, and
> >breaking out flags and placing a pointer to them in the node data
> >structure will introduce more cache misses. So it is probably not
> >worth it.
> >
>
> Yep. Even then, you can't simply have a single non-atomic flags word,
> unless _all_ flags are protected by the same lock.
>
> >>
> >>It seems pretty unlikely that we'll get a pluggable replacement
> >>policy in mainline any time soon though.
> >
> >
> >So, do you think it is more likely that a ClockPro implementation will
> >be accepted then? Or is Linux "doomed" to LRU forever?
> >
>
> I think (hope) that Linux eventually (if slowly) moves toward the best
> implementation available. I just don't think there will be sufficient
> justification for a pluggable page reclaim infrastructure in the mainline
> kernel.
Hi Nick,
There is no such thing as "best implementation available" given that
page replacement policy is nothing more than a set of heuristics
assuming certain characteristics of the underlying workload, and
optimizing for that.
Please refer to
http://programming.kicks-ass.net/kernel-patches/clockpro-2/dev/2.6.16-rc2-1/
Peter's patchset implements a pluggable page reclaim infrastructure
which is used by CLOCK-Pro and CART.
--
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:[~2006-02-11 5:30 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-08 6:46 Magnus Damm
2006-02-08 11:54 ` Nick Piggin
2006-02-09 2:35 ` Magnus Damm
2006-02-09 4:19 ` Nick Piggin
2006-02-09 5:19 ` Magnus Damm
2006-02-09 5:37 ` Nick Piggin
2006-02-11 5:30 ` Marcelo Tosatti [this message]
2006-02-10 15:03 ` Rik van Riel
2006-02-08 19:37 ` Dave Hansen
2006-02-09 2:50 ` Magnus Damm
2006-02-09 17:27 ` Dave Hansen
2006-02-09 1:55 ` KAMEZAWA Hiroyuki
2006-02-09 2:57 ` Magnus Damm
2006-02-09 3:14 ` KAMEZAWA Hiroyuki
2006-02-09 3:38 ` Magnus Damm
2006-02-09 3:51 ` KAMEZAWA Hiroyuki
2006-02-09 5:24 ` Magnus Damm
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=20060211053037.GA3331@dmt.cnet \
--to=marcelo.tosatti@cyclades.com \
--cc=damm@opensource.se \
--cc=linux-mm@kvack.org \
--cc=magnus.damm@gmail.com \
--cc=magnus@valinux.co.jp \
--cc=nickpiggin@yahoo.com.au \
--cc=peter@programming.kicks-ass.net \
/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