[linux-pm] [PATCH 2/2] Fix console handling during suspend/resume

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

 



> One way to allow for a two-phase suspend would be like this:
> 
> * FREEZE all devices
> * Snapshot
> * UNFREEZE all devices (perhaps skip some devices, although I don't
> 	know how you could determine which ones)
> * Write image to disk
> * Send PRESUSPEND message to all devices (they can treat it like SUSPEND
> 	or like FREEZE, or they can ignore it if they want)
> * SUSPEND all devices
> 
> The two-phase part being the last two steps.

The prepare-for-suspend that Linus and I have discussed should happen
before the freeze loop (and finish at the very end of wakeup). It
enclose the entire suspend/resume processing imho.

Ben



[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