Oleg Nesterov 9a13049e83 signal: introduce kernel_signal_stop() to fix jffs2_garbage_collect_thread()
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>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Felipe Balbi <balbi@ti.com>
Cc: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-11-06 17:50:42 -08:00
..
2015-06-30 19:44:57 -07:00
2015-06-23 18:02:01 -04:00
2015-11-05 11:15:25 -08:00
2015-06-25 17:00:42 -07:00
2015-09-08 15:35:28 -07:00
2015-04-11 22:29:40 -04:00
2014-11-19 13:01:20 -05:00
2015-07-09 11:42:21 -07:00
2015-10-16 11:42:28 -07:00
2015-07-23 20:59:40 +02:00
2015-08-12 15:28:45 -05:00
2015-09-04 16:54:41 -07:00
2014-08-26 09:35:56 +02:00