Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266500AbTGEVMW (ORCPT ); Sat, 5 Jul 2003 17:12:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266501AbTGEVMW (ORCPT ); Sat, 5 Jul 2003 17:12:22 -0400 Received: from air-2.osdl.org ([65.172.181.6]:28591 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S266500AbTGEVMV (ORCPT ); Sat, 5 Jul 2003 17:12:21 -0400 Date: Sat, 5 Jul 2003 14:27:52 -0700 From: Andrew Morton To: William Lee Irwin III Cc: anton@samba.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: 2.5.74-mm1 Message-Id: <20030705142752.37a3566a.akpm@osdl.org> In-Reply-To: <20030705211740.GA15452@holomorphy.com> References: <20030703023714.55d13934.akpm@osdl.org> <20030704210737.GI955@holomorphy.com> <20030704181539.2be0762a.akpm@osdl.org> <20030705104433.GK955@holomorphy.com> <20030705114308.6dacb5a2.akpm@osdl.org> <20030705211740.GA15452@holomorphy.com> X-Mailer: Sylpheed version 0.9.0pre1 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 967 Lines: 27 William Lee Irwin III wrote: > > On Sat, Jul 05, 2003 at 11:43:08AM -0700, Andrew Morton wrote: > > if badness() returns zero for everything, this returns NULL and > > the kernel panics. > > Sorry, that was one hell of an oversight wrt. the initival value. You made me read that code about 20 times ;) Still. Do we think we know what the actual bug is? That tasklist_lock doesn't pin tsk->mm? If so then let's get that patch of yours happening, but please enhance it to a) detect the situation where the mm went away, and tell us that it was fixed up. Sufficient to confirm your theory. b) put in an explicit check for a kill of an mm-less process. print a warning, skip the process. - 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/