Re: [PATCH v4] pm_ops: add system quiesce/activate hooks

Benjamin Herrenschmidt
2007-04-13T22:25:22Z

> Hmm, I missed that. :-(
>
> I think we need to make things clear: Either we add the additional hooks to
> pm_ops in which case they should be taken into account in the (u)swsusp code
> too, or we don't add them at all.
>
> Well, there also is one more solution. Namely, we can add the hooks to pm_ops
> and make (u)swsusp use something else instead of pm_ops, but that would require
> some more consideration.

Well, what would be nice would be if swsusp wasn't just such a gross
contraption completely bypassing the rest of the suspend/resume
framework...

Ben.