From: Andrew Morton <akpm@osdl.org>
To: Christoph Lameter <clameter@engr.sgi.com>
Cc: marcelo.tosatti@cyclades.com, nickpiggin@yahoo.com.au,
linux-mm@kvack.org
Subject: Re: Get rid of scan_control
Date: Sat, 11 Feb 2006 13:13:24 -0800 [thread overview]
Message-ID: <20060211131324.63d49cff.akpm@osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.62.0602111054520.24060@schroedinger.engr.sgi.com>
Christoph Lameter <clameter@engr.sgi.com> wrote:
>
> On Sat, 11 Feb 2006, Andrew Morton wrote:
>
> > > But refill_inactive_list() is not used for swapping only. All evicted
> > > pages go through that path - it can be _very_ hot.
> >
> > A bit hot. I guess it's worth fixing.
>
> There is another issue of the anon_vma lock getting very hot during
> zone_reclaim() because refill_inactive_list calls page_referenced(). So
> does shrink_list(). zone_reclaim is only interested in unmapped pages and
> thus checking for references is useless.
>
> > scan_control was modelled on writeback_control. But writeback_control
> > works, and scan_control doesn't. I think this is because a)
> > writeback_control instances are always initialised at the declaration site
> > and b) writeback_control is just a lot simpler.
>
> The zoned counter patchset eliminates at least the wbs structure.
Does that refer to writeback_state?
> Patch to fix the calling of page_referenced() follows. This is against
> 2.6.16-rc2. We probably need another patch for current mm. In the case
> of VMSCAN_MAY_SWAP not set, we may just want to bypass the whole
> calculation thing for reclaim_mapped.
>
What's VMSCAN_MAY_SWAP?
--
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 21:13 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-10 5:02 Christoph Lameter
2006-02-11 4:53 ` Marcelo Tosatti
2006-02-11 9:32 ` Andrew Morton
2006-02-11 9:46 ` Andrew Morton
2006-02-12 3:33 ` Nick Piggin
2006-02-12 3:47 ` Christoph Lameter
2006-02-12 4:08 ` Nick Piggin
2006-02-12 4:41 ` Christoph Lameter
2006-02-12 5:01 ` Nick Piggin
2006-02-12 5:14 ` Andrew Morton
2006-02-12 5:37 ` Andrew Morton
2006-02-12 6:49 ` Christoph Lameter
2006-02-12 7:53 ` Andrew Morton
2006-02-13 17:54 ` Christoph Lameter
2006-02-12 6:25 ` Christoph Lameter
2006-02-11 19:01 ` Christoph Lameter
2006-02-11 21:13 ` Andrew Morton [this message]
2006-02-11 21:27 ` Christoph Lameter
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=20060211131324.63d49cff.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=clameter@engr.sgi.com \
--cc=linux-mm@kvack.org \
--cc=marcelo.tosatti@cyclades.com \
--cc=nickpiggin@yahoo.com.au \
/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