From: Rik van Riel <H.H.vanRiel@phys.uu.nl>
To: Andrea Arcangeli <andrea@e-mind.com>
Cc: linux-mm@kvack.org
Subject: Re: 2.1.130 mem usage. (fwd)
Date: Tue, 1 Dec 1998 19:42:46 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.3.96.981201193815.4046C-100000@mirkwood.dummy.home> (raw)
In-Reply-To: <Pine.LNX.3.96.981201183922.243B-100000@dragon.bogus>
On Tue, 1 Dec 1998, Andrea Arcangeli wrote:
> - free_page_and_swap_cache(page);
> + free_page(page);
>
> Doing this we are not swapping out really I think, because the page
> now is also on the hd, but it' s still in memory and so
> shrink_mmap() will have the double of the work to do.
This is the whole idea. Having shrink_mmap() do the freeing
gives us something like page aging, but at a much much lower
cost.
> I' ll try to reverse these patches right now in my own tree.
The only thing I'll tell you is that performance will be
far worse. The rest you can probably figure out yourself:)
Btw, the 'unused' entry in the page struct is there so we
can do math on page_structs without having to divide by
strange numbers (an order of magnitude slower on most
CPUs).
regards,
Rik -- now completely used to dvorak kbd layout...
+-------------------------------------------------------------------+
| Linux memory management tour guide. H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+
--
This is a majordomo managed list. To unsubscribe, send a message with
the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org
prev parent reply other threads:[~1998-12-01 19:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-01 17:40 Andrea Arcangeli
1998-12-01 18:42 ` Rik van Riel [this message]
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.3.96.981201193815.4046C-100000@mirkwood.dummy.home \
--to=h.h.vanriel@phys.uu.nl \
--cc=andrea@e-mind.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