linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Stephen C. Tweedie" <sct@redhat.com>
To: Rik van Riel <riel@conectiva.com.br>
Cc: "Stephen C. Tweedie" <sct@redhat.com>, linux-mm@kvack.org
Subject: Re: Another wish item for your TODO list...
Date: Mon, 23 Oct 2000 18:36:49 +0100	[thread overview]
Message-ID: <20001023183649.H2772@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0010231501210.13115-100000@duckman.distro.conectiva>; from riel@conectiva.com.br on Mon, Oct 23, 2000 at 03:02:06PM -0200

Hi,

On Mon, Oct 23, 2000 at 03:02:06PM -0200, Rik van Riel wrote:
> 
> > Just a quick thought --- at some point it would be good if we
> > could add logic to the core VM so that for sequentially accessed
> > files, reclaiming any page of the file from cache would evict
> > the _whole_ of the file from cache.
> 
> I take it you mean "move all the pages from before the
> currently read page to the inactive list", so we preserve
> the pages we just read in with readahead ?

No, I mean that once we actually remove a page, we should also remove
all the other pages IF the file has never been accessed in a
non-sequential manner.  The inactive management is separate.

It's an optimisation in CPU time as much as for anything else: there's
just no point in doing expensive memory balancing/aging for pages
which we know are next to useless.

Cheers,
 Stephen
--
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/

  reply	other threads:[~2000-10-23 17:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-23 16:54 Stephen C. Tweedie
2000-10-23 17:02 ` Rik van Riel
2000-10-23 17:36   ` Stephen C. Tweedie [this message]
2000-10-23 18:07     ` Rik van Riel
2000-10-23 19:38       ` Stephen C. Tweedie
2000-10-23 20:13         ` Rik van Riel
2000-10-23 20:44           ` Stephen C. Tweedie
2000-10-23 22:28     ` Ingo Oeser
2000-10-23 22:32       ` Stephen C. Tweedie

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=20001023183649.H2772@redhat.com \
    --to=sct@redhat.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox