Re: Problem with freezable workqueues

From: Rafael J. Wysocki
Date: Tue Feb 27 2007 - 18:58:25 EST


On Wednesday, 28 February 2007 00:36, Johannes Berg wrote:
> On Wed, 2007-02-28 at 02:28 +0300, Oleg Nesterov wrote:
>
> > Ugh. I know nothing, nothing, nothing about suspend. I'll try to guess.
> >
> > Commit: ed746e3b18f4df18afa3763155972c5835f284c5
>
> > Yes? with the patch above, _cpu_down() called _after_ freeze_processes() ???
>
> perfect :)
> See also my original mail and the thread:
> http://thread.gmane.org/gmane.linux.power-management.general/4314
>
> > How about other kthread_stop()s ? For example, kernel/softirq.c:cpu_callback() ?
>
> I'd they should be affected as well.

They won't be, if they have PF_NOFREEZE set.

> For me, I guess I haven't run into them because xfs is enough to freeze the
> box ;)

I think you've hit the only thing that could have triggered the issue. ;-)

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/