Re: [PATCH] Remove process freezer from suspend to RAM pathway

Pavel Machek
2007-07-08T21:08:09Z

Hi!

> > I'm all for changing this infrastructure, but in an organized way (ie. we
> > discuss what to do next, we do that and then we go to the next step) and in
> > the order that everyone will be comfortable with.
> >
> > So, let's finish this thread and start over from discussing what needs to be
> > done, how (ie. in what order etc.) we are going to do that and who is going to
> > do what. Shall we?
>
> IMO we should start by using the new notifier chain and by implementing
> a central "icebox" routine. Then we can forbid device registration
> during suspend.
>
> It might also be a good idea to add a freezable keventd-like workqueue
> specifically intended for things that need to block during a suspend.
> Although maybe this will end up being unnecessary; it's too soon to
> tell.

We actually had patches for freezeable workqueues at one point.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html