Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263922AbUDPWTG (ORCPT ); Fri, 16 Apr 2004 18:19:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263905AbUDPWRi (ORCPT ); Fri, 16 Apr 2004 18:17:38 -0400 Received: from delerium.kernelslacker.org ([81.187.208.145]:1697 "EHLO delerium.codemonkey.org.uk") by vger.kernel.org with ESMTP id S263903AbUDPWOJ (ORCPT ); Fri, 16 Apr 2004 18:14:09 -0400 Date: Fri, 16 Apr 2004 23:13:10 +0100 From: Dave Jones To: Linus Torvalds Cc: Andrew Morton , mingo@redhat.com, Linux Kernel Subject: Re: fix __exit_mm() dereference before check. Message-ID: <20040416221310.GX20937@redhat.com> Mail-Followup-To: Dave Jones , Linus Torvalds , Andrew Morton , mingo@redhat.com, Linux Kernel References: <20040416210828.GK20937@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 587 Lines: 19 On Fri, Apr 16, 2004 at 03:01:32PM -0700, Linus Torvalds wrote: > The mm->mm_users check is protected by "tsk->clear_child_tid", and that > will have been cleared already if we ever happen to call __exit_mm() > twice, so that one is safe. Yes, I missed this. > So this patch might be a cleanup, but not a "fix" per se. ACK. Dave - 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/