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
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux