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]
- Subject: Re: [PATCH 0/1] kthreads: simplify !kthreadd_task logic, kill kthreadd_task_init_done
- From: ebiederm@xxxxxxxxxxxx (Eric W. Biederman)
- Date: Fri, 18 Sep 2009 16:11:56 -0700
- Cc: Oleg Nesterov <oleg@xxxxxxxxxx>, Wu Fei <at.wufei@xxxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, arjan@xxxxxxxxxxxxx, jeremy@xxxxxxxx, mschmidt@xxxxxxxxxx, mingo@xxxxxxxxxx, hpa@xxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, tj@xxxxxxxxxx, tglx@xxxxxxxxxxxxx, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, linux-tip-commits@xxxxxxxxxxxxxxx, Rusty Russell <rusty@xxxxxxxxxxxxxxx>
- In-reply-to: <alpine.LFD.2.01.0909181504400.4950@xxxxxxxxxxxxxxxxxxxxx> (Linus Torvalds's message of "Fri\, 18 Sep 2009 15\:06\:02 -0700 \(PDT\)")
- References: <20090901133709.GA24041@xxxxxxxxxx> <20090901135925.GA9083@xxxxxxx> <20090901145526.GA31317@xxxxxxxxxx> <20090901165235.GA9105@xxxxxxxxxx> <m13a76xnbw.fsf@xxxxxxxxxxxxxxxxx> <20090902091340.GA5173@xxxxxxxxxx> <20090904073749.GB20598@xxxxxxx> <20090918163241.GA8556@desktop> <20090918185425.GA16620@xxxxxxxxxx> <alpine.LFD.2.01.0909181217270.4950@xxxxxxxxxxxxxxxxxxxxx> <20090918211218.GA19351@xxxxxxxxxx> <alpine.LFD.2.01.0909181504400.4950@xxxxxxxxxxxxxxxxxxxxx>
- User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
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]