public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@zip.com.au>
To: Rik van Riel <riel@conectiva.com.br>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: aa-200-active_page_swapout
Date: Wed, 20 Mar 2002 11:24:10 -0800	[thread overview]
Message-ID: <3C98E1DA.529F2BD7@zip.com.au> (raw)
In-Reply-To: <3C980A11.AD5A7660@zip.com.au> <Pine.LNX.4.44L.0203201048590.2181-100000@imladris.surriel.com>

Rik van Riel wrote:
> 
> On Tue, 19 Mar 2002, Andrew Morton wrote:
> 
> > Don't bother checking for active pages in the swapout path.
> >
> > Not sure about this one.  Clearly the page isn't *likely* to be on the
> > active list, because the caller found it on the inactive list.
> 
> Mmmm nope.
> 
> The caller of swap_out (shrink_caches) may have been scanning the
> inactive list, but swap_out itself scans the page tables.
> 
> This means it can encounter all kinds of pages, active, inactive
> and even reserved pages.
> 

good point :)

So what does the patch do?

-

      reply	other threads:[~2002-03-20 19:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-20  4:03 aa-200-active_page_swapout Andrew Morton
2002-03-20 13:50 ` aa-200-active_page_swapout Rik van Riel
2002-03-20 19:24   ` Andrew Morton [this message]

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=3C98E1DA.529F2BD7@zip.com.au \
    --to=akpm@zip.com.au \
    --cc=linux-kernel@vger.kernel.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