All of lore.kernel.org
 help / color / mirror / Atom feed
From: Balbir Singh <balbir@linux.vnet.ibm.com>
To: linux-fsdevel@vger.kernel.org
Cc: linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: per_cpu_counter_sum lockdep warning
Date: Wed, 04 Jun 2008 08:57:16 +0530	[thread overview]
Message-ID: <48460B94.8050000@linux.vnet.ibm.com> (raw)

Saw this warning on an x86_64 box, while booting up 2.6.26-rc4. Has anybody else
seen it? Working on it?

=================================
[ INFO: inconsistent lock state ]
2.6.26-rc4 #2
---------------------------------
inconsistent {in-hardirq-W} -> {hardirq-on-W} usage.
init/1 [HC0[0]:SC0[0]:HE1:SE1] takes:
 (&fbc->lock){+...}, at: [<ffffffff80386382>] __percpu_counter_sum+0xf/0x5a
{in-hardirq-W} state was registered at:
  [<ffffffffffffffff>] 0xffffffffffffffff
irq event stamp: 694563
hardirqs last  enabled at (694563): [<ffffffff80297533>] kmem_cache_free+0x1a9/0x1bb
hardirqs last disabled at (694562): [<ffffffff802973aa>] kmem_cache_free+0x20/0x1bb
softirqs last  enabled at (692960): [<ffffffff8023a27b>] __do_softirq+0xda/0xe3
softirqs last disabled at (692945): [<ffffffff8020c4ac>] call_softirq+0x1c/0x28

other info that might help us debug this:
no locks held by init/1.

stack backtrace:
Pid: 1, comm: init Not tainted 2.6.26-rc4 #2

Call Trace:
 [<ffffffff802518e6>] print_usage_bug+0x15e/0x16f
 [<ffffffff8025281f>] mark_lock+0x22f/0x416
 [<ffffffff80386382>] ? __percpu_counter_sum+0xf/0x5a
 [<ffffffff80253576>] __lock_acquire+0x4e7/0xc8a
 [<ffffffff80386382>] ? __percpu_counter_sum+0xf/0x5a
 [<ffffffff80253da7>] lock_acquire+0x8e/0xb2
 [<ffffffff80386382>] ? __percpu_counter_sum+0xf/0x5a
 [<ffffffff805990d7>] _spin_lock+0x26/0x53
 [<ffffffff80386382>] __percpu_counter_sum+0xf/0x5a
 [<ffffffff803139e2>] ext3_statfs+0xd6/0x160
 [<ffffffff8029c6be>] vfs_statfs+0x4e/0x6d
 [<ffffffff8029c85f>] vfs_statfs_native+0x22/0x48
 [<ffffffff8029c945>] sys_statfs+0x4d/0x89
 [<ffffffff80252bfe>] ? trace_hardirqs_on+0xf9/0x124
 [<ffffffff8037da3d>] ? __up_read+0x8f/0x97
 [<ffffffff8024ad5a>] ? up_read+0x26/0x2a
 [<ffffffff80598cf0>] ? trace_hardirqs_on_thunk+0x35/0x3a
 [<ffffffff80252bfe>] ? trace_hardirqs_on+0xf9/0x124
 [<ffffffff80598cf0>] ? trace_hardirqs_on_thunk+0x35/0x3a
 [<ffffffff8020b1fb>] system_call_after_swapgs+0x7b/0x80

-- 
	Warm Regards,
	Balbir Singh
	Linux Technology Center
	IBM, ISTL

             reply	other threads:[~2008-06-04  3:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-04  3:27 Balbir Singh [this message]
2008-06-04  3:59 ` per_cpu_counter_sum lockdep warning Matthew Wilcox
2008-06-04  4:43   ` Balbir Singh
2008-06-04  4:56   ` Balbir Singh

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=48460B94.8050000@linux.vnet.ibm.com \
    --to=balbir@linux.vnet.ibm.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.