lkml.org 
[lkml]   [2011]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] powerpc/eeh: remove eeh_event_handler()->daemonize()
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


\
 
 \ /
  Last update: 2011-08-18 09:37    [W:0.048 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site