Re: [RFC][PATCH] PM: Separate suspend and hibernation callbacks (highest level)

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

 



On Sunday, 2 of March 2008, Alan Stern wrote:
> On Sun, 2 Mar 2008, Rafael J. Wysocki wrote:
> 
> > Hi,
> > 
> > Below is a patch that introduces the separation of suspend and hibernation
> > callbacks on the highest level, which is the PM core.  This patch is a result
> > of a very recent work by Alex and me.
> > 
> > For now, we only take into account the callbacks necessary to replace the
> > existing code, so we haven't introduced any substantially new callbacks.  The
> > question is whether or not we'll need such callbacks and what purpose they
> > may serve.
> > 
> > Moreover, we assume that the existing (legacy) ->suspend() and ->resume()
> > callbacks will be used for bus types, device classes and device types that
> > don't implement the new callbacks.  As a result, the patch doesn't introduce
> > any visible functional changes.
> > 
> > It has been compilation tested on x86-64.
> > 
> > Comments welcome.
> 
> Where's the kerneldoc explaining the meaning of the new event codes and 
> new methods?

Not ready yet.

I wanted to let people know what we're working on to avoid duplication of
efforts etc.  Still, if you have comments at this stage, please post them. :-)

Thanks,
Rafael
_______________________________________________
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