From: Alexander Gordeev Date: Fri, 9 Mar 2012 13:59:40 +0000 (+0100) Subject: genirq: No need to check IRQTF_DIED before stopping a thread handler X-Git-Tag: v3.4-rc1~193^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05d74efa3c72a5c40b0edeb15856c0230126313b;p=pandora-kernel.git genirq: No need to check IRQTF_DIED before stopping a thread handler Since 63706172f332fd3f6e7458ebfb35fa6de9c21dc5 kthread_stop() is not afraid of dead kernel threads. So no need to check if a thread is alive before stopping it. These checks still were racy. Reported-by: Oleg Nesterov Signed-off-by: Alexander Gordeev Link: http://lkml.kernel.org/r/20120309135939.GC2114@dhcp-26-207.brq.redhat.com Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed