From: Marcelo Tosatti <marcelo@conectiva.com.br>
To: Rik van Riel <riel@conectiva.com.br>
Cc: Linus Torvalds <torvalds@transmeta.com>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] 2.4.1 find_page_nolock fixes
Date: Wed, 31 Jan 2001 00:16:43 -0200 (BRST) [thread overview]
Message-ID: <Pine.LNX.4.21.0101310015290.16164-100000@freak.distro.conectiva> (raw)
In-Reply-To: <Pine.LNX.4.21.0101301728520.1321-100000@duckman.distro.conectiva>
On Tue, 30 Jan 2001, Rik van Riel wrote:
> Hi Linus,
>
> the patch below contains 3 small changes to mm/filemap.c:
>
> 1. replace the aging in __find_page_nolock() with setting
> PageReferenced(), otherwise a large number of small
> reads from (or writes to) a page can drive up the page
> age unfairly
>
> 2. remove the wakeup of kswapd from __find_page_nolock(),
> the wakeup condition is complex and leaving out the
> wakeup has no influence on any workload I tested in
> the last few weeks
>
> 3. add a __find_page_simple(), which is like __find_page_nolock()
> but only needs 2 arguments and doesn't touch the page ... this
> can be used by IO clustering and other things that really don't
> want to influence page aging, removing the 3rd argument also
> keeps things simple
The swapin readahead still makes the page referenced bit set, and it
should not as we discussed previously.
--
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/
prev parent reply other threads:[~2001-01-31 2:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-30 19:48 Rik van Riel
2001-01-31 2:16 ` Marcelo Tosatti [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.4.21.0101310015290.16164-100000@freak.distro.conectiva \
--to=marcelo@conectiva.com.br \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=riel@conectiva.com.br \
--cc=torvalds@transmeta.com \
/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