Re: [PATCH 0/1] kthreads: simplify !kthreadd_task logic, killkthreadd_task_init_done

From: Linus Torvalds
Date: Fri Sep 18 2009 - 18:08:27 EST




On Fri, 18 Sep 2009, Oleg Nesterov wrote:
>
> Not sure I understand... We don't have CLONE_PID, and kthreadd()
> shouldn't have pid == 0 anyway.

Ahh, we got rid of CLONE_PID a long time ago, and renamed it to
CLONE_IDLETASK (which was what it was used for).

As to why pid == 0 wouldn't work, I don't know, but I'll take your word
for it.

Linus
--
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/