Re: Hibernation considerations

Alan Stern
2007-07-16T14:53:42Z

On Mon, 16 Jul 2007, Al Boldi wrote:

> From a kexec'd hibernation kernel pov, both S3 and S4 look conceptually
> exactly the same. The only difference is, in S3 the memory is in memory and
> in S4 the memory is on storage. All device handling is exactly the same, so
> if there is a problem with device handling between the kexec'd hibernation
> kernel and the normal kernel, then that would have made itself visible.

You have contradicted yourself. "In S3 the memory is in memory and in
S4 the memory is on storage". How does the memory get onto storage?
The kexec'd hibernation kernel writes it there. To do so it accesses a
storage device.

Consequently the device handling _cannot_ be exactly the same in S3 and
S4.

Alan Stern