From: ebiederm@xmission.com (Eric W. Biederman)
To: Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: linux-mm@kvack.org
Subject: Re: Consistent page aging....
Date: 26 Jul 2001 08:46:29 -0600 [thread overview]
Message-ID: <m166cfg33u.fsf@frodo.biederman.org> (raw)
In-Reply-To: <Pine.LNX.4.21.0107260701290.3707-100000@freak.distro.conectiva>
Marcelo Tosatti <marcelo@conectiva.com.br> writes:
> On 25 Jul 2001, Eric W. Biederman wrote:
>
> >
> > Be very clear on this because I sense some confusion. We don't
> > ``require'' allocation of swap space to do aging.
>
> Right now, we have to make anon pages become swap cache pages (which need
> swap space allocated) to be able to age them in the LRU lists.
Nothing important in the aging algorithm on the active list requires
that the page be in the page cache. The only immediate difference is
that the test to see if a page is busy needs to be updated to not
assume the page is in the page cache.
> Sure, we do aging before by just scanning the pte's and the process of
> adding a page to the swapcache is already some kind of aging.
>
> I'm talking about the aging in the LRU lists here.
Me to.
> There is no confusion. Its the way 2.4 VM works.
It is a minor implemtation detail of the 2.4 VM not a fundamental
property. If fundamental routines like add_to_page_cache didn't make
the assumption that a page they are being called on wasn't on an lru
list it might be straight forward to change. But as it is you have
to be very careful to make that kind of change.
> See?
Nope.
Eric
--
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/
next prev parent reply other threads:[~2001-07-26 14:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.21.0107250416230.2823-100000@freak.distro.conectiva>
2001-07-25 10:10 ` Eric W. Biederman
2001-07-25 10:11 ` Marcelo Tosatti
2001-07-25 15:49 ` Rik van Riel
2001-07-25 16:08 ` Eric W. Biederman
2001-07-25 16:42 ` Rik van Riel
2001-07-26 7:19 ` Eric W. Biederman
2001-07-25 16:02 ` Eric W. Biederman
2001-07-26 10:04 ` Marcelo Tosatti
2001-07-26 14:46 ` Eric W. Biederman [this message]
2001-07-27 23:45 ` Jordi Polo
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=m166cfg33u.fsf@frodo.biederman.org \
--to=ebiederm@xmission.com \
--cc=linux-mm@kvack.org \
--cc=marcelo@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