public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: terje_fb@yahoo.no, linux-kernel@vger.kernel.org, torvalds@osdl.org
Subject: Re: 2.6.10: kswapd spins like crazy
Date: Thu, 3 Feb 2005 17:16:38 -0800	[thread overview]
Message-ID: <20050203171638.668f2892.akpm@osdl.org> (raw)
In-Reply-To: <4202C839.8000103@yahoo.com.au>

Nick Piggin <nickpiggin@yahoo.com.au> wrote:
>
> Oh, attached should be a minimal fix if you would like to try it out.
> 
> 
> ...
> --- linux-2.6/mm/vmscan.c~vmscan-minfix	2005-02-04 11:52:37.000000000 +1100
> +++ linux-2.6-npiggin/mm/vmscan.c	2005-02-04 11:53:32.000000000 +1100
> @@ -575,6 +575,7 @@ static void shrink_cache(struct zone *zo
>  			nr_taken++;
>  		}
>  		zone->nr_inactive -= nr_taken;
> +		zone->pages_scanned += nr_scan;
>  		spin_unlock_irq(&zone->lru_lock);
>  
>  		if (nr_taken == 0)
> 

Any theories as to why these pages aren't being activated and aren't being
reclaimed?


  reply	other threads:[~2005-02-04  1:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-03 10:29 2.6.10: kswapd spins like crazy Terje Fåberg
2005-02-03 10:47 ` Nick Piggin
2005-02-03 11:54   ` Terje Fåberg
2005-02-03 19:50     ` Terje Fåberg
2005-02-04  0:12       ` Nick Piggin
2005-02-04  0:56         ` Nick Piggin
2005-02-04  1:16           ` Andrew Morton [this message]
2005-02-04  1:19             ` Nick Piggin
2005-02-04 10:26               ` Terje Fåberg
2005-02-04 17:26                 ` Terje Fåberg
2005-02-04 22:18                   ` Nick Piggin
2005-02-05  7:12                     ` Terje Fåberg
  -- strict thread matches above, loose matches on Subject: below --
2005-02-04 16:16 Weathers, Norman R.

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=20050203171638.668f2892.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nickpiggin@yahoo.com.au \
    --cc=terje_fb@yahoo.no \
    --cc=torvalds@osdl.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