lkml.org 
[lkml]   [2003]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: oom killer in 2.4.23
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.109 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site