On Friday, 21 September 2007 17:02, huang ying wrote:
It surely is possible, but I'm not sure if it's going to be useful.
I mean, if we need to do exactly the same thing before a suspend to RAM and
before a hibernation (ie. to put devices into low power states), why would we
want to use different methods for that in both cases?
Frankly, I don't know.
Generally, changing the way in which device drivers handle suspend (to RAM)
and hibernation is a huge task. After considering this issue for some time
I think that we really should start from hardening suspend (to RAM) so that it
doesn't need the freezer any more, because _that_ would require us to change
the suspend-related drivers' callbacks anyway.
When we are sure how we are going to eliminate the freezer from suspend
(to RAM), we'll know how that affects hibernation and what to do about it.
Greetings,
Rafael
-