From: Nick Piggin <nickpiggin@yahoo.com.au>
To: Bernard Blackham <bernard@blackham.com.au>
Cc: ncunningham@linuxmail.org, Linux Memory Management <linux-mm@kvack.org>
Subject: Re: Odd kswapd behaviour after suspending in 2.6.11-rc1
Date: Sun, 16 Jan 2005 14:55:34 +1100 [thread overview]
Message-ID: <41E9E5B6.1020306@yahoo.com.au> (raw)
In-Reply-To: <20050115125311.GA19055@blackham.com.au>
[-- Attachment #1: Type: text/plain, Size: 1101 bytes --]
Bernard Blackham wrote:
> On Sat, Jan 15, 2005 at 08:40:18PM +0800, Bernard Blackham wrote:
>
>>On Sat, Jan 15, 2005 at 10:01:11PM +1100, Nick Piggin wrote:
>>
>>>Also, Bernard, can you try running with the following patch and
>>>see what output it gives when you reproduce the problem?
>>
>>On resuming:
>
>
> And now with higher debug info that may prove useful (balance_pgdat
> firing as soon as kswapd woken):
>
> *** Cleaning up...
> Free memory at 'out': 59157.
> Last free mem was 59157. Is now 59156. I/O info value 0 now -1.
> Free memory at start of free_pagedir_data: 59156.
> Last free mem was 59156. Is now 60013. Checksum pages value 1 now 857.
> Free memory at end of free_pagedir: 60013.
> Pageset size1 was 3057; size2 was 2330.
> Free memory after freeing pagedir data: 60013.
> Thawing tasks
> Waking 4: khelper.
> Waking 5: kthread.
> Waking 6: kacpid.
> Waking 8: pdflush.
> Waking 11: aio/0.
> Waking 10: kswapd0.
> Wakikswapd: balance_pgdat, order = 10
Someone asked for an order 10 allocation by the looks.
This might tell us what happened.
[-- Attachment #2: kswapd-debug --]
[-- Type: text/plain, Size: 412 bytes --]
Index: linux-2.6/mm/vmscan.c
===================================================================
--- linux-2.6.orig/mm/vmscan.c 2005-01-16 14:52:42.753380598 +1100
+++ linux-2.6/mm/vmscan.c 2005-01-16 14:54:28.468932870 +1100
@@ -1194,6 +1194,11 @@
{
pg_data_t *pgdat;
+ if (order >= 8) {
+ printk("wakeup_kswapd(order = %d)\n", order);
+ dump_stack();
+ }
+
if (zone->present_pages == 0)
return;
next prev parent reply other threads:[~2005-01-16 3:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-13 6:14 Bernard Blackham
2005-01-13 6:26 ` Nick Piggin
2005-01-13 8:56 ` Bernard Blackham
2005-01-13 10:14 ` Bernard Blackham
2005-01-15 10:16 ` Nick Piggin
2005-01-15 10:34 ` Nigel Cunningham
2005-01-15 10:40 ` Nick Piggin
2005-01-15 10:48 ` Nigel Cunningham
2005-01-15 11:01 ` Nick Piggin
2005-01-15 11:32 ` Nigel Cunningham
2005-01-15 12:40 ` Bernard Blackham
2005-01-15 12:53 ` Bernard Blackham
2005-01-16 3:55 ` Nick Piggin [this message]
2005-01-16 4:36 ` Bernard Blackham
2005-01-16 4:56 ` Nigel Cunningham
2005-01-16 5:02 ` Nick Piggin
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=41E9E5B6.1020306@yahoo.com.au \
--to=nickpiggin@yahoo.com.au \
--cc=bernard@blackham.com.au \
--cc=linux-mm@kvack.org \
--cc=ncunningham@linuxmail.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