From: Peter Zijlstra <peterz@infradead.org>
To: prasad@linux.vnet.ibm.com
Cc: Thomas Gleixner <tglx@linutronix.de>,
"Rafael J. Wysocki" <rjw@sisk.pl>, Len Brown <lenb@kernel.org>,
Greg Kroah-Hartman <gregkh@suse.de>,
lkml <linux-kernel@vger.kernel.org>,
Steven Rostedt <rostedt@goodmis.org>
Subject: Re: s2r badness
Date: Mon, 20 Jul 2009 20:50:44 +0200 [thread overview]
Message-ID: <1248115844.23509.0.camel@laptop> (raw)
In-Reply-To: <20090720182045.GA5537@in.ibm.com>
On Mon, 2009-07-20 at 23:50 +0530, K.Prasad wrote:
> > > [ 74.576953] ------------[ cut here ]------------
> > > [ 74.576953] WARNING: at /usr/src/linux-2.6/kernel/softirq.c:143 local_bh_enable_ip+0x8b/0xc0()
> > > [ 74.576953] Hardware name: 2242CTO
> > > [ 74.576953] Pid: 5406, comm: bash Not tainted 2.6.31-rc3-tip #32
> > > [ 74.576953] Call Trace:
> > > [ 74.576953] [<ffffffff8107401b>] ? local_bh_enable_ip+0x8b/0xc0
> > > [ 74.576953] [<ffffffff8106c838>] warn_slowpath_common+0x78/0xd0
> > > [ 74.576953] [<ffffffff8106c89f>] warn_slowpath_null+0xf/0x20
> > > [ 74.576953] [<ffffffff8107401b>] local_bh_enable_ip+0x8b/0xc0
> > > [ 74.576953] [<ffffffff814d08d9>] _spin_unlock_bh+0x19/0x20
> > > [ 74.576953] [<ffffffff810d2c77>] load_debug_registers+0x67/0x80
> >
> > That's the hw breakpoint support stuff which does the spin_unlock_bh
> > at a point where interrupts are disabled. So that's a -tip tree issue,
> > not mainline.
> >
>
> load_debug_registers() uses spin_(un)lock_bh() and not a spin-lock() to
> protect itself from flush_thread_hw_breakpoint() [which is invoked in
> softIRQ context].
>
> I'd like to recreate this traceback to investigate and fix this. What
> steps, when done cause this message to appear?
Close the lid and open it again?
next prev parent reply other threads:[~2009-07-20 18:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-18 20:03 s2r badness Peter Zijlstra
2009-07-18 20:33 ` Thomas Gleixner
2009-07-20 18:20 ` K.Prasad
2009-07-20 18:50 ` Peter Zijlstra [this message]
2009-07-20 21:00 ` Steven Rostedt
2009-07-20 23:02 ` Thomas Gleixner
2009-07-20 23:51 ` Steven Rostedt
2009-07-21 6:38 ` Thomas Gleixner
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=1248115844.23509.0.camel@laptop \
--to=peterz@infradead.org \
--cc=gregkh@suse.de \
--cc=lenb@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=prasad@linux.vnet.ibm.com \
--cc=rjw@sisk.pl \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.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 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.