From: Nick Piggin <nickpiggin@yahoo.com.au>
To: Andrew Morton <akpm@osdl.org>
Cc: terje_fb@yahoo.no, linux-kernel@vger.kernel.org, torvalds@osdl.org
Subject: Re: 2.6.10: kswapd spins like crazy
Date: Fri, 04 Feb 2005 12:19:59 +1100 [thread overview]
Message-ID: <4202CDBF.9070304@yahoo.com.au> (raw)
In-Reply-To: <20050203171638.668f2892.akpm@osdl.org>
Andrew Morton wrote:
> 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?
>
>
No none yet, which is what we should get to the bottom of. I must be
overlooking something, but the only ways I can see should be due to
transient conditions like page locked or under writeback. laptop_mode?
Terje, what is /proc/sys/vm/laptop_mode set to?
next prev parent reply other threads:[~2005-02-04 1:31 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
2005-02-04 1:19 ` Nick Piggin [this message]
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=4202CDBF.9070304@yahoo.com.au \
--to=nickpiggin@yahoo.com.au \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--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