Re: oom killer in 2.4.23
From: Andrea Arcangeli
Date: Fri Dec 05 2003 - 17:56:58 EST
On Fri, Dec 05, 2003 at 02:38:25PM -0800, Mike Fedyk wrote:
> On Fri, Dec 05, 2003 at 02:05:20PM +0100, Kristian Peters wrote:
> > Dec 5 13:34:41 adlib kernel: VM: killing process khexedit
> > Dec 5 13:37:27 adlib kernel: VM: killing process mozilla-bin
> > Dec 5 13:37:56 adlib kernel: VM: killing process mozilla-bin
> > Dec 5 13:40:32 adlib kernel: VM: killing process XFree86
> This is with 2.4.23?
> Why is the VM killing anything if the oom-killer is removed?
the 2.4.23 kernel will kill the task that triggered the oom condition,
it has to kill something of course, and the task that triggered the oom
during the page fault is the only one we can kill synchronously easily,
in turn guaranteeing that the machine won't deadlock in omm.
the oom killer normally is meant as the heuristc that chooses a special
task to kill, instead of the one that triggered the oom condition. But
choosing a different task and not the one that triggered the oom in the
page fault, isn't math safe w.r.t deadlocks.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/