Re: [PATCH] PM: allow runtime_suspend methods to call pm_schedule_suspend

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

 



On Fri, 19 Mar 2010, Rafael J. Wysocki wrote:

> On Friday 19 March 2010, Alan Stern wrote:
> > This patch (as1361) changes the runtime PM interface slightly; it
> > allows suspend requests to be scheduled while the runtime_suspend
> > method is running.  If the method succeeds then the scheduled request
> > is cancelled, whereas if the method fails then an idle notification is
> > sent only if no request was scheduled.
> > 
> > Being able to schedule suspend requests from within a runtime_suspend
> > method is useful for drivers that need to test for idleness and
> > suspend the device all while holding a single spinlock, or for drivers
> > that want to check for idleness by polling.
> > 
> > Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> 
> Looks good.
> 
> Do you need it in 2.6.34 or is it sufficient to queue it up for 2.6.35 (I'd prefer so)?

2.6.35 is good enough.

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