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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> writes:

> 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.

It probably would work but it would not be visible in proc  Making a kernel
thread that actually does work seems undesirable.

Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux