[linux-pm] Problems with PM_FREEZE

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

 



On Thursday, 29 of September 2005 00:01, Pavel Machek wrote:
> Hi!
> 
> > > > Yes, I've been thinking about it for some time.  It seems to me we could do
> > > > this with the help of an additional field in pm_message_t.
> > > 
> > > The problem that no pm_message_t is passed to resume routines.
> > 
> > Yes, shame on me (I desperately need some sleep).
> > 
> > How about calling *_suspend() twice, first before the image is created
> > and second after it has been created but before *_resume() are called,
> > with the second call only telling the driver the next resume will be
> > resume-during-suspend? 
> 
> Could we do it properly and pass pm_message_t to resume()? Yes, it is
> more work, but no, we don't need hacks there.

Sure.  Passing pm_message_t to resume() is much better.

Greetings,
Rafael

[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