Re: [PATCH] powerpc/eeh: remove eeh_event_handler()->daemonize()

From: Tejun Heo
Date: Thu Aug 18 2011 - 03:35:03 EST


Hello,

On Wed, Aug 17, 2011 at 07:27:13PM +0200, Oleg Nesterov wrote:
> Btw. Perhaps we should kill CLONE_KERNEL? And note that the only
> user is eeh_thread_launcher().
>
> The problem is, CLONE_KERNEL looks as "use me if you want to create
> a kernel thread". But CLONE_SIGHAND means the kernel thread should
> not play with signals, and this is not obvious.

I guess it predates kthread(). There's no reason to use
kernel_thread() directly outside of a few core places, so removing it
sounds like a pretty good idea.

Thanks.

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