Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 20 Feb 2003 18:12:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 20 Feb 2003 18:12:14 -0500 Received: from mx2.elte.hu ([157.181.151.9]:14790 "HELO mx2.elte.hu") by vger.kernel.org with SMTP id ; Thu, 20 Feb 2003 18:12:13 -0500 Date: Fri, 21 Feb 2003 00:21:58 +0100 (CET) From: Ingo Molnar Reply-To: Ingo Molnar To: Linus Torvalds Cc: Zwane Mwaikambo , Chris Wedgwood , Kernel Mailing List , "Martin J. Bligh" , William Lee Irwin III Subject: Re: doublefault debugging (was Re: Linux v2.5.62 --- spontaneous reboots) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 734 Lines: 20 On Thu, 20 Feb 2003, Linus Torvalds wrote: > > well, we can do the wait_task_inactive() in both cases - in > > release_task(), and in __put_task_struct(). [in the release_task() path > > that will just be a nop]. This further simplifies the patch. > > I think the _real_ simplification is to just have the task switch do > this in the tail: if possible i'd avoid putting more overhead into the scheduler - it's clearly more performance-sensitive than the task create/exit path. Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/