Re: 2.5.74-mm1

From: Andrew Morton (akpm@osdl.org)
Date: Sat Jul 05 2003 - 16:27:52 EST


William Lee Irwin III <wli@holomorphy.com> 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/



This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:25 EST