linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <riel@conectiva.com.br>
To: Jonathan Morton <chromi@cyberspace.org>
Cc: Andrew Morton <andrewm@uow.edu.au>,
	Marcelo Tosatti <marcelo@conectiva.com.br>,
	linux-mm@kvack.org
Subject: Re: [PATCH] reapswap for 2.4.5-ac10
Date: Sat, 9 Jun 2001 04:46:36 -0300 (BRST)	[thread overview]
Message-ID: <Pine.LNX.4.21.0106090444510.14934-100000@imladris.rielhome.conectiva> (raw)
In-Reply-To: <l0313030fb743f99e010e@[192.168.239.105]>

On Wed, 6 Jun 2001, Jonathan Morton wrote:

> >> BUT, as it turns out, refill_inactive_scan() already does ageing down on a
> >> page-by-page basis, rather than process-by-process.
> >
> >Yes.  page->count needs looking at if you're doing physically-addressed
> >scanning.  Rik's patch probably does that.
> 
> Explain...
> 
> AFAICT, the scanning in refill_inactive_scan() simply looks at a list
> of pages, and doesn't really do physical addresses.

http://www.surriel.com/patches/2.4/2.4.5-ac5-pmap

In this patch, the kernel looks at the page table entries
using a page from refill_inactive() and does its page aging
on a per-physical-page basis.

Of course, this costs us some overhead and I'm not at all
convinced we actually want to use this strategy. It's just
too much fun to code to not try ;)

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/

  parent reply	other threads:[~2001-06-09  7:46 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-06  8:39 Jonathan Morton
2001-06-06 12:21 ` Andrew Morton
2001-06-06 12:47   ` Stephen C. Tweedie
2001-06-06 12:50   ` Jonathan Morton
2001-06-06 13:12     ` Andrew Morton
2001-06-06 16:44       ` Jonathan Morton
2001-06-06 17:01         ` Andrew Morton
2001-06-06 19:40           ` Jonathan Morton
2001-06-09  7:46         ` Rik van Riel [this message]
2001-06-06 19:18 ` Marcelo Tosatti
2001-06-06 21:13   ` Jonathan Morton
2001-06-07 14:45     ` John Stoffel
2001-06-07 16:45       ` Jonathan Morton
2001-06-11  4:43 ` Joseph A. Knapka
  -- strict thread matches above, loose matches on Subject: below --
2001-06-05 19:48 Marcelo Tosatti
2001-06-05 22:14 ` Stephen C. Tweedie
2001-06-05 20:46   ` Marcelo Tosatti
2001-06-06 12:31     ` Hugh Dickins
2001-06-06 19:17       ` 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.0106090444510.14934-100000@imladris.rielhome.conectiva \
    --to=riel@conectiva.com.br \
    --cc=andrewm@uow.edu.au \
    --cc=chromi@cyberspace.org \
    --cc=linux-mm@kvack.org \
    --cc=marcelo@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