From: Peter Zijlstra <a.p.zijlstra@chello.nl>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Ingo Molnar <mingo@elte.hu>, "Rafael J. Wysocki" <rjw@sisk.pl>,
Ming Lei <tom.leiming@gmail.com>,
Andrew Morton <akpm@linux-foundation.org>,
Linux-pm mailing list <linux-pm@lists.linux-foundation.org>,
Linux Kernel List <linux-kernel@vger.kernel.org>,
Gautham R Shenoy <ego@in.ibm.com>
Subject: Re: pm-hibernate : possible circular locking dependency detected
Date: Tue, 07 Apr 2009 09:05:53 +0200 [thread overview]
Message-ID: <1239087953.798.5513.camel@twins> (raw)
In-Reply-To: <200904071356.29914.rusty@rustcorp.com.au>
On Tue, 2009-04-07 at 13:56 +0930, Rusty Russell wrote:
> On Sunday 05 April 2009 23:14:54 Ingo Molnar wrote:
> >
> > * Rafael J. Wysocki <rjw@sisk.pl> wrote:
> >
> > > On Sunday 05 April 2009, Ming Lei wrote:
> > > > kernel version : one simple usb-serial patch against commit
> > > > 6bb597507f9839b13498781e481f5458aea33620.
> > > >
> > > > Thanks.
> > >
> > > Hmm, CPU hotplug again, it seems.
> > >
> > > I'm not sure who's the maintainer at the moment. Andrew, is that
> > > Gautham?
> >
> > CPU hotplug tends to land on the scheduler people's desk normally.
> >
> > But i'm not sure that's the real thing here - key appears to be this
> > work_on_cpu() worklet by the cpufreq code:
>
> Looks like this will be fixed by Andrew's work-on-cpu-in-own-thread
> patch which I just put out the pull request for.
Would it make sense to teach it about a short-circuit like:
work_on_cpu() {
if (cpumask_weight(current->cpus_allowed) == 1 &&
smp_processor_id() == cpu)
return do_work_right_here();
queue_the_bugger();
}
?
next prev parent reply other threads:[~2009-04-07 7:05 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-05 9:53 pm-hibernate : possible circular locking dependency detected Ming Lei
2009-04-05 10:12 ` Rafael J. Wysocki
2009-04-05 13:44 ` Ingo Molnar
2009-04-06 0:55 ` Gautham R Shenoy
2009-04-06 13:29 ` Rafael J. Wysocki
2009-04-06 14:24 ` Gautham R Shenoy
2009-04-06 15:25 ` Rafael J. Wysocki
2009-04-06 14:37 ` [linux-pm] " Alan Stern
2009-04-06 15:20 ` Gautham R Shenoy
2009-04-06 18:42 ` Alan Stern
2009-04-06 19:58 ` Rafael J. Wysocki
2009-04-07 8:43 ` Peter Zijlstra
2009-04-07 4:26 ` Rusty Russell
2009-04-07 7:05 ` Peter Zijlstra [this message]
2009-04-08 3:17 ` Rusty Russell
2009-04-08 12:26 ` Ingo Molnar
2009-04-08 12:48 ` Peter Zijlstra
2009-04-08 23:45 ` Rusty Russell
2009-04-09 4:17 ` Ingo Molnar
2009-04-09 14:45 ` Ming Lei
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=1239087953.798.5513.camel@twins \
--to=a.p.zijlstra@chello.nl \
--cc=akpm@linux-foundation.org \
--cc=ego@in.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=mingo@elte.hu \
--cc=rjw@sisk.pl \
--cc=rusty@rustcorp.com.au \
--cc=tom.leiming@gmail.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