From: Peter Zijlstra <peterz@infradead.org>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Xiaotian Feng <dfeng@redhat.com>,
LKML <linux-kernel@vger.kernel.org>, Ingo Molnar <mingo@elte.hu>,
Venkatesh Pallipadi <venki@google.com>,
Suresh Siddha <suresh.b.siddha@intel.com>,
"H. Peter Anvin" <hpa@zytor.com>,
"Rafael J. Wysocki" <rjw@sisk.pl>
Subject: Re: BUG: sleeping function called from invalid context at kernel/mutex.c
Date: Tue, 05 Apr 2011 09:41:16 +0200 [thread overview]
Message-ID: <1301989276.2225.1.camel@twins> (raw)
In-Reply-To: <alpine.LFD.2.00.1104021653010.22266@localhost6.localdomain6>
On Sat, 2011-04-02 at 21:12 +0200, Thomas Gleixner wrote:
>
> And it is safe enough for the resume case as well, it simply cannot go
> to sleep because nothing else can hold that mutex in the early resume
> code. We take the mutex during early boot as well, but there the might
> sleep checks are disabled. And we should do the very same thing in the
> early resume code as well. Rafael, PeterZ ???
the $subject text sound like it triggered might_sleep(), and that had a
system_state != SYSTEM_RUNNING bail condition, but then, I've no clue
what resume looks like.
next prev parent reply other threads:[~2011-04-05 7:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-02 11:47 BUG: sleeping function called from invalid context at kernel/mutex.c Xiaotian Feng
2011-04-02 19:12 ` Thomas Gleixner
2011-04-05 7:41 ` Peter Zijlstra [this message]
2011-04-06 4:43 ` Rafael J. Wysocki
2011-04-06 8:07 ` Peter Zijlstra
2011-04-07 5:53 ` Rafael J. Wysocki
2011-04-07 5:22 ` Xiaotian Feng
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=1301989276.2225.1.camel@twins \
--to=peterz@infradead.org \
--cc=dfeng@redhat.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rjw@sisk.pl \
--cc=suresh.b.siddha@intel.com \
--cc=tglx@linutronix.de \
--cc=venki@google.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