From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: James Bottomley <James.Bottomley@steeleye.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
Arjan van de Ven <arjan@infradead.org>,
Ingo Molnar <mingo@elte.hu>,
Peter Zijlstra <peterz@infradead.org>
Subject: Re: Mysterious lockdep warning from the SCSI workqueue code
Date: Sat, 22 Dec 2007 23:56:26 +0100 [thread overview]
Message-ID: <200712222356.27311.rjw@sisk.pl> (raw)
In-Reply-To: <1198344452.3478.9.camel@localhost.localdomain>
On Saturday, 22 of December 2007, James Bottomley wrote:
> I've no idea why this is occurring:
>
> WARNING: at kernel/lockdep.c:700 look_up_lock_class()
> Pid: 2068, comm: scsi_wq_3 Not tainted 2.6.24-rc6 #38
> [<c010535a>] show_trace_log_lvl+0x1a/0x30
> [<c0105ce2>] show_trace+0x12/0x20
> [<c010601c>] dump_stack+0x6c/0x80
> [<c014696d>] __lock_acquire+0x46d/0x10b0
> [<c0147628>] lock_acquire+0x78/0xa0
> [<c0136d18>] run_workqueue+0x128/0x1d0
> [<c013795c>] worker_thread+0x8c/0xf0
> [<c013ab32>] kthread+0x42/0x70
> [<c0104f47>] kernel_thread_helper+0x7/0x10
> =======================
>
> it looks to be happening on the initial workqueue.c:run_workqueue()
>
> spin_lock_irq(&cwq->lock);
>
> It's caused by lockdep.c:look_up_lock_class()
>
> WARN_ON_ONCE(class->name != lock->name);
>
> but I'm not entirely sure what this actually means, not fully
> understanding lockdep classes and how we acquire them in scsi.
I guess Ingo and/or Peter should have a look at this.
Thanks,
Rafael
next prev parent reply other threads:[~2007-12-22 22:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-22 17:27 Mysterious lockdep warning from the SCSI workqueue code James Bottomley
2007-12-22 22:56 ` Rafael J. Wysocki [this message]
2007-12-22 23:16 ` Peter Zijlstra
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=200712222356.27311.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=James.Bottomley@steeleye.com \
--cc=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=peterz@infradead.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