linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <riel@conectiva.com.br>
To: Mark Hahn <hahn@coffee.psychology.mcmaster.ca>
Cc: linux-mm@kvack.org
Subject: Re: Plain 2.4.5 VM
Date: Wed, 30 May 2001 17:35:20 -0300 (BRST)	[thread overview]
Message-ID: <Pine.LNX.4.21.0105301734030.13062-100000@imladris.rielhome.conectiva> (raw)
In-Reply-To: <Pine.LNX.4.10.10105301539030.31487-100000@coffee.psychology.mcmaster.ca>

On Wed, 30 May 2001, Mark Hahn wrote:

> 	if (ptep_test_and_clear_young(pte))
> 		age up;
> 	else		
> 		get rid of it;
> 
> shouldn't we try to gain more information by scanning page tables
> at a good rate?  we don't have to blindly get rid of every page
> that isn't young (referenced since last scan) - we could base that
> on age.  admittedly, more scanning would eat some additional CPU,
> but then again, we currently shuffle pages among lists based on relatively
> sparse PAGE_ACCESSED info.
> 
> or am I missing something?  

The "getting rid of it" above consists of 2 parts:

1) moving the page to the active list, where
   refill_inactive_scan will age it
2) the page->age will be higher if the page
   has been accessed more often

regards,

Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/		http://distro.conectiva.com/

Send all your spam to aardvark@nl.linux.org (spam digging piggy)

--
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/

  reply	other threads:[~2001-05-30 20:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.21.0105301613520.13062-100000@imladris.rielhome.conectiva>
2001-05-30 20:01 ` Mark Hahn
2001-05-30 20:35   ` Rik van Riel [this message]
2001-05-30 22:41     ` Jonathan Morton
2001-05-30 22:51       ` Marcelo Tosatti

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.0105301734030.13062-100000@imladris.rielhome.conectiva \
    --to=riel@conectiva.com.br \
    --cc=hahn@coffee.psychology.mcmaster.ca \
    --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