From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758728AbZIRWIU (ORCPT ); Fri, 18 Sep 2009 18:08:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755105AbZIRWIO (ORCPT ); Fri, 18 Sep 2009 18:08:14 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:36619 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752064AbZIRWIO (ORCPT ); Fri, 18 Sep 2009 18:08:14 -0400 Date: Fri, 18 Sep 2009 15:06:02 -0700 (PDT) From: Linus Torvalds X-X-Sender: torvalds@localhost.localdomain To: Oleg Nesterov cc: Wu Fei , Ingo Molnar , "Eric W. Biederman" , arjan@infradead.org, jeremy@goop.org, mschmidt@redhat.com, mingo@redhat.com, hpa@zytor.com, linux-kernel@vger.kernel.org, tj@kernel.org, tglx@linutronix.de, Andrew Morton , linux-tip-commits@vger.kernel.org, Rusty Russell Subject: Re: [PATCH 0/1] kthreads: simplify !kthreadd_task logic, kill kthreadd_task_init_done In-Reply-To: <20090918211218.GA19351@redhat.com> Message-ID: References: <20090901133709.GA24041@redhat.com> <20090901135925.GA9083@elte.hu> <20090901145526.GA31317@redhat.com> <20090901165235.GA9105@redhat.com> <20090902091340.GA5173@redhat.com> <20090904073749.GB20598@elte.hu> <20090918163241.GA8556@desktop> <20090918185425.GA16620@redhat.com> <20090918211218.GA19351@redhat.com> User-Agent: Alpine 2.01 (LFD 1184 2008-12-16) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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