[lkml]   [2002]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: problem with "Use CLONE_KERNEL for the common kernel thread flags"?

On Sun, 15 Sep 2002, Matthew Wilcox wrote:
> Seems to me like you missed something in your latest changeset:
> - kernel_thread(init, NULL, CLONE_FS | CLONE_FILES | CLONE_SIGNAL);
> + kernel_thread(init, NULL, CLONE_KERNEL);
> init used to be spawned with CLONE_THREAD and no longer is. Was this
> intentional?

Yup. CLONE_THREAD has some new semantics these days, and is not
necessarily at all what a kernel thread wants any more. It used to not
matter at all, but these days it means that it gets put on the same thread
group list as the parent, which means that it won't show up on the global
list of processes any more (since it is considered a "subthread" of the
thread group leader).


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:0.027 / U:2.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site