All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@zip.com.au>
To: Ed Tomlinson <tomlins@cam.org>
Cc: linux-mm@kvack.org
Subject: Re: Fwd: Re: slablru for 2.5.32-mm1
Date: Mon, 02 Sep 2002 13:02:11 -0700	[thread overview]
Message-ID: <3D73C3C3.B48FE419@zip.com.au> (raw)
In-Reply-To: 200209021137.41132.tomlins@cam.org

Ed Tomlinson wrote:
> 
> ...
> The pages which back slab objects may be manually marked as referenced
> via kmem_touch_page(), which simply sets PG_referenced.  It _could_ use
> mark_page_accessed(), but doesn't.  So slab pages will always remain on
> the inactive list.
> 
> --
> Since shrinking a slab is a much lower cost operation than a swap we keep
> the slab pages in inactive where they age faster.  Note I did test with slabs
> following the normal active/inactive cycle - we swapped more.
> --

It worries me that we may be keeping a large number of unfreeable
slab pages on the inactive list.  These will churn around creating 
extra work, but more significantly they will revent refill_inactive
from bringing down really-reclaimable pages.
 
> ...
> Actually the BUG_ON conversion were done by Craig Kulesa.   It would be a
> good idea to credit him with the initial port to 2.5 - he did to the work.

OK.
--
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:[~2002-09-02 20:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-02 15:37 Fwd: Re: slablru for 2.5.32-mm1 Ed Tomlinson
2002-09-02 20:02 ` Andrew Morton [this message]
2002-09-02 22:49   ` Ed Tomlinson
  -- strict thread matches above, loose matches on Subject: below --
2002-09-02 15:38 Ed Tomlinson

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=3D73C3C3.B48FE419@zip.com.au \
    --to=akpm@zip.com.au \
    --cc=linux-mm@kvack.org \
    --cc=tomlins@cam.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.