From: Neil Schemenauer <nascheme@enme.ucalgary.ca>
To: Rik van Riel <riel@conectiva.com.br>
Cc: linux-mm@kvack.org
Subject: Re: [patch] page aging and deferred swapping for 2.4.0-test1
Date: Thu, 25 May 2000 17:48:17 -0600 [thread overview]
Message-ID: <20000525174817.A18487@acs.ucalgary.ca> (raw)
In-Reply-To: <Pine.LNX.4.21.0005251936390.7453-100000@duckman.distro.conectiva>; from riel@conectiva.com.br on Thu, May 25, 2000 at 08:03:42PM -0300
On Thu, May 25, 2000 at 08:03:42PM -0300, Rik van Riel wrote:
> + if (PageTestandClearReferenced(page)) {
> + page->age += 3;
> + if (page->age > 10)
> + page->age = 0;
Why this test? Something like:
if (page->age < 10) {
page->age += 3;
}
makes more sense to me.
Neil
--
'Slashdot, with its uncontrolled content and participants' poor
impulse control, remains Internet culture's answer to "Lord of
the Flies."' - Salon
--
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.eu.org/Linux-MM/
next prev parent reply other threads:[~2000-05-25 23:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-25 23:03 [patch] page aging and deferred swapping for 2.4.0-test1 Rik van Riel
2000-05-25 23:48 ` Neil Schemenauer [this message]
2000-05-26 13:32 ` Roger Larsson
2000-05-26 13:41 ` Rik van Riel
2000-05-26 14:59 ` Roger Larsson
2000-05-26 15:16 ` Rik van Riel
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=20000525174817.A18487@acs.ucalgary.ca \
--to=nascheme@enme.ucalgary.ca \
--cc=linux-mm@kvack.org \
--cc=riel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.