Re: swsusp / suspend2 reliability (was Re: [Suspend2-devel] Re: Suspend2 - Request for review & inclusion in -mm)

Pavel Machek
2006-06-28T19:53:32Z

On Wed 2006-06-28 01:18:10, Sebastian Kügler wrote:
> On Wednesday 28 June 2006 00:51, Pavel Machek wrote:
> > On Wed 2006-06-28 00:38:59, Sebastian Kügler wrote:
> > > On Wednesday 28 June 2006 00:22, Pavel Machek wrote:
> > > > I do not think suspend2 works on more machines than in-kernel
> > > > swsusp. Problems are in drivers, and drivers are shared.
> > > >
> > > > That means that if you have machine where suspend2 works and swsusp
> > > > does not, please tell me. I do not think there are many of them.
> > >
> > > Maybe not machines, but definitely usage scenarios. I've tried both
> > > implementations lately, and swsusp would often -- especially under high
> > > memory load -- just return from trying, while suspend2 succeeds in
> > > freeing enough memory to be able to suspend _every_ time.
> >
> > Refrigerator fixes should help with this one. Does it still happen in
> > 2.6.17?
>
> Last release I tested was 2.6.17-rc6-git7.
>
> > > Is that something uswsusp is likely to change anytime soon?
> >
> > Actually this is common code for both swsusp and uswsusp; yes this
> > should be fixed.
>
> In the above mentioned release it definitely is not fixed.

Okay, can I get some details? Like how much memory does system have,
what stress test causes the failure?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html