Re: [PATCH 2/2] Fix console handling during suspend/resume

Pavel Machek
2006-06-15T22:24:02Z

On Pá 16-06-06 08:17:01, Paul Mackerras wrote:
> Linus Torvalds writes:
>
> > See? WE DO NOT DO THIS. I told people we needed to do this _years_ ago. I
> > tried to push through the two-phase suspend. I tried to explain why. I
> > clearly failed, because we do _nothing_of_the_sort_ right now.
>
> We have had working suspend-to-ram on powerbooks since 1998, and we
> have always done a two-phase suspend. We have been as unsuccessful
> as you at convincing people on the PC side that two-phase suspend is
> good. :-P Hopefully we'll get further this time.

Are you sure your second phase is same second phase Linus is talking
about?

What Linus actually wants is another phase before stopping
userland. That's okay -- that is basically unordered, so simple
notifier list is okay. Its just... I did not yet seen driver that
_needs_ that kind of notifier, so I simply did not add it, yet.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html