Re: Hibernation Redesign

Miklos Szeredi
2007-07-11T10:43:23Z

> > > Yes, I suppose. You're certain the old kernel's devices are completely
> > > quiescent at that point?
> >
> > That's exactly the problem; trying to save a state from within the
> > kernel would probably necessitate a freezer hack, which we are
> > trying so dearly to avoid.
>
> Well, I don't think that avoiding the freezer whatever it takes
> would be a good idea. There needs to be some balance. ;-)

Well, it takes some extra locking in the drivers. Which is needed
_anyway_ if we want to have a working s2ram without the freezer.

With the kexec approach, I don't see any extra requirements from the
kernel to be able to drop the freezer.

Miklos