Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1239166

Re: [PATCH 2/3] signal: introduce kernel_signal_stop() to fix jffs2_garbage_collect_thread()

From Tejun Heo <tj@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/3] signal: introduce kernel_signal_stop() to fix jffs2_garbage_collect_thread()
Date 2015-10-04 19:30 +0200
Message-ID <qfVgK-6VO-25@gated-at.bofh.it> (permalink)
References <qfzzA-1bp-5@gated-at.bofh.it> <qfzzA-1bp-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@redhat.com>

Reviewed-by: Tejun Heo <tj@kernel.org>

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH -mm 0/3] minor kthread/signals cleanups and fix Oleg Nesterov <oleg@redhat.com> - 2015-10-03 20:20 +0200
  [PATCH 2/3] signal: introduce kernel_signal_stop() to fix  jffs2_garbage_collect_thread() Oleg Nesterov <oleg@redhat.com> - 2015-10-03 20:20 +0200
    Re: [PATCH 2/3] signal: introduce kernel_signal_stop() to fix  jffs2_garbage_collect_thread() Tejun Heo <tj@kernel.org> - 2015-10-04 19:30 +0200

csiph-web