From: Rik van Riel <riel@conectiva.com.br>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: [PATCH] minor page aging update
Date: Mon, 24 Sep 2001 17:38:45 -0300 (BRST) [thread overview]
Message-ID: <Pine.LNX.4.33L.0109241734490.1864-100000@duckman.distro.conectiva> (raw)
Hi Alan,
here is the promised minor page aging update to 2.4.9-ac15:
1) use min()/max() for age_page_{up,down}, now the
thing is resistant to people changing PAGE_AGE_DECL ;)
2) in try_to_swap_out(), still adjust the page age even if
the zone does have enough inactive pages ... this is a
very cheap operation and will keep the page aging info
in zones better up to date
3) only call do_try_to_free_pages() when we have a free
shortage, this means kswapd() won't waste CPU time on
working sets which fit in memory, but "spill over"
into the inactive list ... also update comments a bit
4) remove run_task_queue(&tq_disk) from kswapd() since
page_launder() will already have done this if needed
regards,
Rik
--
IA64: a worthy successor to the i860.
http://www.surriel.com/
http://www.conectiva.com/ http://distro.conectiva.com/
--
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 reply other threads:[~2001-09-24 20:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-24 20:38 Rik van Riel [this message]
2001-09-24 20:39 ` 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=Pine.LNX.4.33L.0109241734490.1864-100000@duckman.distro.conectiva \
--to=riel@conectiva.com.br \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--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