Re: [PATCH] flush_cpu_workqueue: don't flush an empty ->worklist

From: Ingo Molnar
Date: Tue Jan 09 2007 - 04:49:40 EST



* Srivatsa Vaddagiri <vatsa@xxxxxxxxxx> wrote:

> This thread makes absolutely -no- calls to try_to_freeze() in its
> lifetime.

that's a plain bug. suspend will fail for example. A kernel thread
either needs to mark itself PF_NOFREEZE (which means it can be ignored
and zapped with impunity), or needs to call into try_to_freeze() with a
sane frequency.

Ingo
-
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/