Re: [PATCH 1/8] stop_machine: cpu_stopper_thread() must check done != NULL

From: Tejun Heo
Date: Mon Nov 16 2015 - 13:52:37 EST

On Sun, Nov 15, 2015 at 08:33:11PM +0100, Oleg Nesterov wrote:
> stop_one_cpu_nowait(fn) will crash the kernel if the callback returns
> nonzero, work->done == NULL in this case.
> This needs more cleanups, cpu_stop_signal_done() is called right after
> we check done != NULL and it does the same check.
> Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

cc stable?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at