linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
To: Kautuk Consul <consul.kautuk@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Mel Gorman <mgorman@suse.de>, Minchan Kim <minchan.kim@gmail.com>,
	Johannes Weiner <jweiner@redhat.com>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: linux-2.6.35.13: Schedule while atomic bug and kernel crash in kswapd.
Date: Mon, 28 Nov 2011 11:17:44 +0900	[thread overview]
Message-ID: <20111128111744.3020ad4d.kamezawa.hiroyu@jp.fujitsu.com> (raw)
In-Reply-To: <CAFPAmTQCcWf0yLm239b_fQTv9CY9t=B5gUrDO1wKM97pyrJurQ@mail.gmail.com>

On Fri, 25 Nov 2011 18:20:31 +0530
Kautuk Consul <consul.kautuk@gmail.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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

      reply	other threads:[~2011-11-28  2:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-25 12:50 Kautuk Consul
2011-11-28  2:17 ` KAMEZAWA Hiroyuki [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=20111128111744.3020ad4d.kamezawa.hiroyu@jp.fujitsu.com \
    --to=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=akpm@linux-foundation.org \
    --cc=consul.kautuk@gmail.com \
    --cc=jweiner@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mgorman@suse.de \
    --cc=minchan.kim@gmail.com \
    /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