Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 15 Feb 2003 21:40:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 15 Feb 2003 21:40:00 -0500 Received: from modemcable092.130-200-24.mtl.mc.videotron.ca ([24.200.130.92]:11339 "EHLO montezuma.mastecende.com") by vger.kernel.org with ESMTP id ; Sat, 15 Feb 2003 21:40:00 -0500 Date: Sat, 15 Feb 2003 21:48:20 -0500 (EST) From: Zwane Mwaikambo X-X-Sender: zwane@montezuma.mastecende.com To: "Martin J. Bligh" cc: Linus Torvalds , Andrew Morton , Kernel Mailing List Subject: Re: Fw: 2.5.61 oops running SDET In-Reply-To: <67320000.1045361394@[10.10.2.4]> Message-ID: References: <67320000.1045361394@[10.10.2.4]> 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: 571 Lines: 20 On Sat, 15 Feb 2003, Martin J. Bligh wrote: > - struct mm_struct *mm = get_task_mm(task); > + struct mm_struct *mm; > > + task_lock(task); > + mm = __get_task_mm(task); > buffer = task_name(task, buffer); > buffer = task_state(task, buffer); task_state acquires the task_struct lock. Zwane -- function.linuxpower.ca - 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/