Re: [RFC][PATCH -mm 1/2] PM: Introduce hibernation and suspend notifiers

Pavel Machek
2007-06-03T16:41:43Z

Hi!

> From: Rafael J. Wysocki <rjw@sisk.pl>
>
> Make it possible to register hibernation and suspend notifiers, so that
> subsystems can perform hibernation-related or suspend-related operations that
> should not be carried out by device drivers' .suspend() and .resume() routines.

One more question: what will we call in suspend-to-both case? I do not
think we can call SUSPEND_PREPARE with frozen tasks, so just one call
to HIBERNATION_PREPARE?

> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Ack.

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html