From: Pekka Enberg <penberg@cs.helsinki.fi>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: npiggin@suse.de, linux-kernel@vger.kernel.org,
"akpm@linux-foundation.org" <akpm@linux-foundation.org>
Subject: Re: mmotm 2009-07-30-05-01 uploaded
Date: Tue, 4 Aug 2009 09:42:46 +0300 [thread overview]
Message-ID: <84144f020908032342w51337862m5879f98cf297f889@mail.gmail.com> (raw)
In-Reply-To: <20090804121259.d0c4e202.kamezawa.hiroyu@jp.fujitsu.com>
Hi Kame,
On Tue, Aug 4, 2009 at 6:12 AM, KAMEZAWA
Hiroyuki<kamezawa.hiroyu@jp.fujitsu.com> wrote:
> On Thu, 30 Jul 2009 05:04:28 -0700
> akpm@linux-foundation.org wrote:
>
>> The mm-of-the-moment snapshot 2009-07-30-05-01 has been uploaded to
>>
>> http://userweb.kernel.org/~akpm/mmotm/
>>
>> and will soon be available at
>>
>> git://git.zen-sources.org/zen/mmotm.git
>>
>
> I'm sorry if already reported. When using SLQB, this warning is shown.
>
>
> [ 0.000000] ------------[ cut here ]------------
> [ 0.000000] WARNING: at kernel/lockdep.c:2131 trace_hardirqs_on_caller+0xb1/0x12f()
> [ 0.000000] Hardware name: VMware Virtual Platform
> [ 0.000000] Modules linked in:
> [ 0.000000] Pid: 0, comm: swapper Not tainted 2.6.31-rc4-mm1 #1
> [ 0.000000] Call Trace:
> [ 0.000000] [<ffffffff81060189>] ? trace_hardirqs_on_caller+0xb1/0x12f
> [ 0.000000] [<ffffffff8103e14a>] warn_slowpath_common+0x77/0xa4
> [ 0.000000] [<ffffffff814c8f4c>] ? _spin_unlock_irq+0x2b/0x30
> [ 0.000000] [<ffffffff8103e186>] warn_slowpath_null+0xf/0x11
> [ 0.000000] [<ffffffff81060189>] trace_hardirqs_on_caller+0xb1/0x12f
> [ 0.000000] [<ffffffff81060214>] trace_hardirqs_on+0xd/0xf
> [ 0.000000] [<ffffffff814c8f4c>] _spin_unlock_irq+0x2b/0x30
> [ 0.000000] [<ffffffff814c89f2>] ? __down_write_nested+0x1c/0xa9
> [ 0.000000] [<ffffffff814c8a0f>] __down_write_nested+0x39/0xa9
> [ 0.000000] [<ffffffff810b97f6>] ? kmem_cache_open+0x2b1/0x460
> [ 0.000000] [<ffffffff814c8a8a>] __down_write+0xb/0xd
> [ 0.000000] [<ffffffff814c802d>] down_write+0x4a/0x4e
> [ 0.000000] [<ffffffff810b97f6>] ? kmem_cache_open+0x2b1/0x460
> [ 0.000000] [<ffffffff810b97f6>] kmem_cache_open+0x2b1/0x460
> [ 0.000000] [<ffffffff818247bc>] kmem_cache_init+0x4d/0x352
> [ 0.000000] [<ffffffff8181b837>] ? mem_init+0x156/0x161
> [ 0.000000] [<ffffffff81808adf>] start_kernel+0x1cd/0x3ab
> [ 0.000000] [<ffffffff8180829a>] x86_64_start_reservations+0xaa/0xae
> [ 0.000000] [<ffffffff8180837f>] x86_64_start_kernel+0xe1/0xe8
> [ 0.000000] ---[ end trace 4eaa2a86a8e2da22 ]---
> [ 0.000000] start_kernel(): bug: interrupts were enabled *very* early, fixing it
>
> This is because down_write() uses spin_lock_irq(), not spin_lock_irqsave().
> I think this is sane because down_write() is not called under irq-disabled.
> By this, irq is enabled before init_IRQ().
>
> SLUB don't have this bug because it uses special routine for initializing
> kmalloc area. (See slub.c::create_kmalloc_cache(), it's commented.)
Should be fixed by this:
http://git.kernel.org/?p=linux/kernel/git/penberg/slab-2.6.git;a=commitdiff;h=791738e83b97d2d4fc631d68483430200035bdf3
prev parent reply other threads:[~2009-08-04 6:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-30 12:04 akpm
2009-07-31 21:34 ` mmotm 2009-07-30-05-01 uploaded (proc page monitor) Randy Dunlap
2009-07-31 21:45 ` [PATCH -mmotm] input/winbond-cir: select BITREVERSE Randy Dunlap
2009-08-04 3:12 ` mmotm 2009-07-30-05-01 uploaded KAMEZAWA Hiroyuki
2009-08-04 6:42 ` Pekka Enberg [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=84144f020908032342w51337862m5879f98cf297f889@mail.gmail.com \
--to=penberg@cs.helsinki.fi \
--cc=akpm@linux-foundation.org \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=npiggin@suse.de \
/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
all inboxes | Powered by JetHome®