From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753956AbZBRO4u (ORCPT ); Wed, 18 Feb 2009 09:56:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752542AbZBRO4m (ORCPT ); Wed, 18 Feb 2009 09:56:42 -0500 Received: from mx2.redhat.com ([66.187.237.31]:39516 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752214AbZBRO4l (ORCPT ); Wed, 18 Feb 2009 09:56:41 -0500 Date: Wed, 18 Feb 2009 15:50:37 +0100 From: Oleg Nesterov To: Rusty Russell Cc: Andrew Morton , Jiri Slaby , linux-kernel@vger.kernel.org, Ingo Molnar , "H. Peter Anvin" , tglx@linutronix.de, x86@kernel.org Subject: Re: mmotm 2009-02-17-12-33 uploaded Message-ID: <20090218145037.GA24240@redhat.com> References: <200902172050.n1HKorvc028933@imap1.linux-foundation.org> <499BD65B.2080307@gmail.com> <20090218015356.4454f758.akpm@linux-foundation.org> <200902182245.27525.rusty@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200902182245.27525.rusty@rustcorp.com.au> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/18, Rusty Russell wrote: > > On Wednesday 18 February 2009 20:23:56 Andrew Morton wrote: > > Someone else has been mucking with kthread.c in linux-next, and a > > couple of days ago that mucking got dropped from linux-next. Perhaps > > this churn broke Oleg's patch. "[merged] kthread-dont-looking-for-a-task-in-create_kthread-2.patch" has "create->result = current;" in kthread(), then this line was lost somehow, > Oleg and I had an accidentally-offlist chat about these patches. > > Last we decided, a more ambitious approach was desired. Patches RSN. Yes, but can't we do this on top of current patches? We are going to change the API a bit, so that kthread_create() bumps a reference to task_struct. I think it would be nice to separate the API changes from the implementation changes. Oleg.