Re: [Update][PATCH] PM / Hibernate: Fix s2disk regression relatedto unlock_system_sleep()

From: Pavel Machek
Date: Thu Jan 19 2012 - 12:40:38 EST


Hi!

> >> To give an example,
> >>
> >> /*
> >> * XXX: Open code SKIP clearing for now to avoid invoking
> >> * try_to_freeze(). This isn't correct but this function is
> >> * called from deep inside hibernation path and calling
> >> * try_to_freeze() leads to hang during hibernation. This
> >> * will be properly fixed soon. See commit message for
> >> * more details.
> >> */
> >
> > Which paths are affected?
> >
> > With uswsusp, we have userland in control of hibernation process; I'd
> > say almost anything can be called...
>
>
> Hi Pavel,
> I am afraid you are looking at a stale comment. We finalized on a
> different comment altogether.

I know. But the underlying problem (uswsusp code is userland, and can
do anything) is still there, right? I guess limitations for
applications using uswsusp interface should be documented somewhere.
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/