[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111128111744.3020ad4d.kamezawa.hiroyu@jp.fujitsu.com>
Date: Mon, 28 Nov 2011 11:17:44 +0900
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To: Kautuk Consul <consul.kautuk@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Mel Gorman <mgorman@...e.de>,
Minchan Kim <minchan.kim@...il.com>,
Johannes Weiner <jweiner@...hat.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: linux-2.6.35.13: Schedule while atomic bug and kernel crash in
kswapd.
On Fri, 25 Nov 2011 18:20:31 +0530
Kautuk Consul <consul.kautuk@...il.com> wrote:
> Hi,
>
> I am running linux-2.6.35.31 on my ARM system and I got around 197
> schedule while atomics and then finally a kernel crash.
>
> Can anyone suggest some MMpatches to apply on this fix this problem ?
>
> I got the following schedule while atomic log around 197 times:
> ------------------------------------------------------------------------------------------
> Backtrace(CPU 0):
> [<c00393a0>] (dump_backtrace+0x0/0x11c) from [<c0393728>] (dump_stack+0x20/0x24)
> [<c0393708>] (dump_stack+0x0/0x24) from [<c0058ad0>] (__schedule_bug+0x70/0x7c)
> [<c0058a60>] (__schedule_bug+0x0/0x7c) from [<c03939f8>] (schedule+0x74/0x5a4)
> r5:d2002000 r4:d1f79440
> [<c0393984>] (schedule+0x0/0x5a4) from [<c03948a0>]
> (schedule_timeout+0x2c8/0x304)
> [<c03945d8>] (schedule_timeout+0x0/0x304) from [<c0393958>]
> (io_schedule_timeout+0x50/0x7c)
> r7:d1f79440 r6:d2002000 r5:c04c0088 r4:c04bfc88
> [<c0393908>] (io_schedule_timeout+0x0/0x7c) from [<c0109cbc>]
> (congestion_wait+0x7c/0xa0)
> r6:00000019 r5:c04c6230 r4:d2003edc r3:00000000
> [<c0109c40>] (congestion_wait+0x0/0xa0) from [<c0102268>] (kswapd+0x594/0x61c)
> r7:00000000 r6:c04d7a28 r5:00000008 r4:c04d76f4
> [<c0101cd4>] (kswapd+0x0/0x61c) from [<c007db6c>] (kthread+0x90/0x98)
> [<c007dadc>] (kthread+0x0/0x98) from [<c00642f4>] (do_exit+0x0/0x708)
> r7:00000013 r6:c00642f4 r5:c007dadc r4:d1f47f3c
> BUG: scheduling while atomic: kswapd0/16/0x00000000
>
Hmm, it seems strange and I never see this.
This seems __schedule_bug() is called but preempt_count() is 0x00000000.
Could you show your .config ?
Regards,
-Kame
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists