Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266216AbUFPIUg (ORCPT ); Wed, 16 Jun 2004 04:20:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266217AbUFPIUf (ORCPT ); Wed, 16 Jun 2004 04:20:35 -0400 Received: from mx1.redhat.com ([66.187.233.31]:54218 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S266216AbUFPIUe (ORCPT ); Wed, 16 Jun 2004 04:20:34 -0400 From: David Howells In-Reply-To: <40CFB2A1.8070104@yahoo.com.au> References: <40CFB2A1.8070104@yahoo.com.au> <20040615164848.GA8276@hobbes.itsari.int> To: Nick Piggin Cc: Nuno Monteiro , linux-kernel@vger.kernel.org, marcelo.tosatti@cyclades.com Subject: Re: [2.4] build error with latest BK User-Agent: EMH/1.14.1 SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386-redhat-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Date: Wed, 16 Jun 2004 09:20:22 +0100 Message-ID: <3473.1087374022@redhat.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 484 Lines: 17 > - put_task_struct(tsk); > + task_unlock(tsk); Ummm... that doesn't look right. > - get_task_struct(tsk); This is necessary to stop someone deallocating the task structure, can the task structure be deallocated whilst locked? David - 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/