Maxim Levitsky <maximlevitsky@gmail.com> writes:Yes. S4 looks interesting. Especially the weird fans don't work on restore from S5 case. S4 still appears to be a premature optimization, that ads lots of complexity and reduces the reliability of the code. Software hibernation to disk should be a rock solid proposition, that needs little if any cooperation from drivers, and it should work on every box, because fundamentally it is hardware agnostic. The only cooperation we need from drivers is for devices that we can't tolerate at upper layers an unplug and replug event like block devices because we would loose our filesystems. All of the reports say hibernation is not rock solid reliable. Things like S4 support keep us from being hardware agnostic. Therefore it appears to me we have a design bug. Which is why I'm not at all happy with S4 support. It actually occurs to me that the first mode we should really support is the mode where the user hits the power button themselves. That totally removes the hibernation path from any weird hardware interactions. Then S5 is an optimization upon that (just a little more work on the shutdown path). Then ultimately S4 reusing and refactoring the work for S3? suspend to ram to allow us to leave very specific devices on. But that is lot of complexity, for a little bit of gain. We should have code that works by design. Code that practically every time. Something that is easy to diagnose. Eric --
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| James Bottomley | Re: Announce: Linux-next (Or Andrew's dream :-)) |
| Michal Piotrowski | Re: 2.6.21-rc5-mm4 |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Frans Pop | svc: failed to register lockdv1 RPC service (errno 97). |
| Lovich, Vitali | RE: [PATCH] Packet socket: mmapped IO: PACKET_TX_RING |
git: | |
