public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Andrew Morton <akpm@osdl.org>,
	lkml <linux-kernel@vger.kernel.org>,
	mason@suse.de
Subject: Re: [patch] vm early reclaim orphaned pages
Date: Fri, 17 Jun 2005 06:20:46 +0200	[thread overview]
Message-ID: <20050617042046.GR9664@g5.random> (raw)
In-Reply-To: <1118979750.5261.12.camel@npiggin-nld.site>

Hello everyone,

On Fri, Jun 17, 2005 at 01:42:29PM +1000, Nick Piggin wrote:
> Yeah that is a problem I was worried about. Perhaps just stripping
> PageReferenced and putting it on the *front* of the inactive list
> would be better?

I thought about putting in font instead of the tail too.

But then I also thought this after all is truncate that will literally
free some ram, and in turn it'll delay the VM shrinking a bit (i.e.
kswapd will stop shortly after truncate started). Plus there's no reason
to assume kswapd was running when truncate was invoked.

So overall I think the basic idea is to move it in the inactive list and
to strip the referenced bit, either at the head or tail probably doesn't
make much difference, they have opposite pros/cons.

The front sounds conceptually safer even if tail probably works better
in practice.

> Will do. Thanks.

Thanks!

  reply	other threads:[~2005-06-17  4:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-17  3:23 [patch] vm early reclaim orphaned pages Nick Piggin
2005-06-17  3:34 ` Andrew Morton
2005-06-17  3:42   ` Nick Piggin
2005-06-17  4:20     ` Andrea Arcangeli [this message]
2005-06-20  7:23 ` [patch 1/2] vm early reclaim orphaned pages (take 2) Nick Piggin
2005-06-20  7:24   ` [patch 2/2] stats for orphaned pages (-mm only) Nick Piggin
2005-06-20  7:36     ` Andrew Morton
2005-06-20  7:49       ` Nick Piggin
2005-06-20  7:31   ` [patch 1/2] vm early reclaim orphaned pages (take 2) Andrew Morton
2005-06-20  7:32   ` Nick Piggin
2005-06-23  2:51     ` Rik Van Riel
2005-06-23  3:05       ` Nick Piggin

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=20050617042046.GR9664@g5.random \
    --to=andrea@suse.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mason@suse.de \
    --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