From: Andrea Arcangeli <andrea@suse.de>
To: Rik van Riel <riel@conectiva.com.br>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
Linus Torvalds <torvalds@transmeta.com>,
linux-mm@kvack.org, los@lsdb.bwl.uni-mannheim.de
Subject: Re: [PATCH] -ac21 don't set referenced bit
Date: Mon, 19 Jun 2000 20:06:07 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.21.0006192001010.497-100000@inspiron.random> (raw)
In-Reply-To: <Pine.LNX.4.21.0006191450100.13200-100000@duckman.distro.conectiva>
On Mon, 19 Jun 2000, Rik van Riel wrote:
>My approach is a bit simpler. Since we *always* want to clear
>the bit when we put the page in the LRU list, we can simply
>remove that piece of code duplication from elsewhere in the
>code.
I do the clear of the bit in __add_to_page_cache at zero cost. You do it
with a cost inside lru_cache_add. That's the only difference between the
two approchs.
Andrea
--
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:[~2000-06-19 18:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-19 15:36 Rik van Riel
2000-06-19 16:22 ` Andrea Arcangeli
2000-06-19 17:00 ` Rik van Riel
2000-06-19 17:10 ` Andrea Arcangeli
2000-06-19 17:51 ` Rik van Riel
2000-06-19 18:06 ` Andrea Arcangeli [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.0006192001010.497-100000@inspiron.random \
--to=andrea@suse.de \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-mm@kvack.org \
--cc=los@lsdb.bwl.uni-mannheim.de \
--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