Re: 2.5.74-mm1

Andrew Morton
2003-07-05T21:27:52Z

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.