[PATCH 2/3] signal: introduce kernel_signal_stop() to fix jffs2_garbage_collect_thread()
Tejun Heo
tj at kernel.org
Sun Oct 4 10:28:07 PDT 2015
On Sat, Oct 03, 2015 at 08:13:38PM +0200, Oleg Nesterov wrote:
> jffs2_garbage_collect_thread() can race with SIGCONT and sleep in
> TASK_STOPPED state after it was already sent. Add the new helper,
> kernel_signal_stop(), which does this correctly.
>
> Signed-off-by: Oleg Nesterov <oleg at redhat.com>
Reviewed-by: Tejun Heo <tj at kernel.org>
Thanks.
--
tejun
More information about the linux-mtd
mailing list