Re: [PATCH] PM: fix a lockdep warning in runtime.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2 Dec 2009, Rafael J. Wysocki wrote:

> On Wednesday 02 December 2009, Alan Stern wrote:
> > This patch (as1309) fixes a lockdep warning in
> > __pm_runtime_set_status().  This is the one place where the runtime PM
> > framework acquires a nested power.lock, and the nesting is never more
> > than one deep.
> > 
> > Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> 
> I have a very simila patch queued up already.  The only difference is that it
> uses SINGLE_DEPTH_NESTING instead of the new symbol.  My version is appended
> below.
> 
> > 
> > ---
> > 
> > If anybody is using the runtime PM framework in 2.6.32 then this 
> > should be pushed before the final release.
> 
> I'll push it to Linus, then, if there still is time.  Would you mind if I used
> my version?

That's fine.  I would have used SINGLE_DEPTH_NESTING if I had seen its 
definition.

Alan Stern

_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux