From: Marcelo Tosatti <marcelo@conectiva.com.br>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: linux-mm@kvack.org
Subject: Re: Consistent page aging....
Date: Wed, 25 Jul 2001 07:11:14 -0300 (BRT) [thread overview]
Message-ID: <Pine.LNX.4.21.0107250701330.2948-100000@freak.distro.conectiva> (raw)
In-Reply-To: <m1n15tgvyv.fsf@frodo.biederman.org>
On 25 Jul 2001, Eric W. Biederman wrote:
> Marcelo Tosatti <marcelo@conectiva.com.br> writes:
>
> > Sorry, Eric.
> >
> > The biggest 2.4 swapping bug is that we need to allocate swap space for a
> > page to be able to age it.
>
> Well I guess biggest bug is a debatable title.
>
> > We had to be able to age pages without allocating swap space...
>
> That sounds reasonable. I haven't been over the aging code lately it
> keeps changing. You say this hasn't been fixed? Looking... O.k. I
> see what you are talking about.
>
> I don't see any technical reasons why we can't do this. Doing it
> without adding many extra special cases would require some thinking
> but nothing fundamental says you can't have anonymous pages in the
> active list.
Right.
> You can't move mapped pages off of the active list but this holds true
> anyway.
>
> The only benefit this would bring is that after anonymous pages have
> been converted to swappable pages they wouldn't start at the end of
> the active_list.
Right now we have to allocate space on swap for any page which we want to
add to the active list. (so we are able to age the anon pages as other
cache pages)
> I can see how this would be helpful, but unless you benchmark this
> I don't see how this can as the biggest 2.4 swapping bug.
Its the "2xRAM swap rule" problem.
IMO having to allocate swap space to be able to do _aging_ on anonymous
pages is just nonsense.
Now doing the swap allocation at the time we're writting out swap pages
(page_launder()) makes sense for me.
Thats a 2.5 thing, of course...
--
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-25 10:11 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 [this message]
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
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=Pine.LNX.4.21.0107250701330.2948-100000@freak.distro.conectiva \
--to=marcelo@conectiva.com.br \
--cc=ebiederm@xmission.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