Re: Fix up power managment in 2.6

Pavel Machek
2003-09-03T21:59:55Z

Hi!

> > The whole point was to get rid of the old 2 step save_state, then
> > suspend model which didn't make sense. A saved state is only meaningful
> > as long as that state doesn't get modified afterward, so saving state
> > and suspending are an atomic operation.

Actually swsusp does exactly that, its

suspend drivers
snapshot state
resume drivers
write snapshot to the disk

I do not think that it matters, through, because I can do save_state
and suspend anyway...
Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]