Re: Back to the future.
From: Rafael J. Wysocki
Date: Sun Apr 29 2007 - 05:28:03 EST
On Sunday, 29 April 2007 10:59, Pavel Machek wrote:
> Hi!
>
> > > Ie we do have history of _not_ freezing things. The freezing came later,
> > > and came with the subsystem that had more problems..
> >
> > It doesn't have that many problems as you are trying to suggest. At present,
> > the only problems with it happen if someone tries to "improve" it in the way
> > I did with the workqueues.
> >
> > Anyway, the freezing of tasks, including kernel threads, is one of the few
> > things on which Pavel, Nigel and me completely agree that they should be done,
> > so perhaps you could accept that?
>
> Actually, if we want to support OLPC _nicely_, we'll need to get rid
> of freezer from suspend-to-RAM. Of course, that _will_ put more
> pressure at the drivers -- and break few of them...
I think the removal of sys_sync() from freeze_processes() in the s2ram case
might help.
I'm really afraid of dropping the freezing of kernel threads from the
hibernation/suspend altogether before we know we won't break drivers, because
we can introduce some very subtle and difficult to debug problems this way.
Moreover, apart from speeding up the suspend slightly (kernel threads are
frozen very quickly) this won't buy us anything, since kprobes uses the freezer
and all of the infrastructure is needed anyway.
Greetings,
Rafael
-
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/