linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <H.H.vanRiel@phys.uu.nl>
To: Linux MM <linux-mm@kvack.org>
Subject: PTE chaining, kswapd and swapin readahead
Date: Wed, 17 Jun 1998 00:10:07 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.3.96.980617000413.6859C-100000@mirkwood.dummy.home> (raw)

Hi,

In the PTE chaining discussion/patches a while ago, I saw
that kswapd was changed in a way that it scanned memory
in physical order instead of walking the pagetables.

This has the advantage of deallocating memory in physically
adjecant chunks, which will be nice while we still have the
primitive buddy allocator we're using now.

However, it will be a major performance bottleneck when we
get around to implementing the zone allocator and swapin
readahead. This is because we don't need physical deallocation
with the zone allocatore and because swapin readahead is just
an awful lot faster when the pages are contiguous in swap.

I write this to let the PTE people (Stephen and Ben) know
that they probably shouldn't remove the pagetable walking
routines from kswapd...

Rik.
+-------------------------------------------------------------------+
| Linux memory management tour guide.        H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader.      http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+

             reply	other threads:[~1998-06-17  4:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-16 22:10 Rik van Riel [this message]
1998-06-17  9:24 ` Eric W. Biederman
1998-06-17 16:03   ` Rik van Riel
1998-06-18  4:06     ` Eric W. Biederman
1998-06-18  7:25       ` Rik van Riel

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.3.96.980617000413.6859C-100000@mirkwood.dummy.home \
    --to=h.h.vanriel@phys.uu.nl \
    --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