Re: OOM-killer too aggressive?

From: Christoph Lameter
Date: Mon Feb 27 2006 - 20:01:54 EST


On Mon, 27 Feb 2006, Andrew Morton wrote:

> > On Mon, Feb 27, 2006 at 02:30:02PM -0800, Christoph Lameter wrote:
> > > Isnt this also a constrained allocation? We could expand the check to also
> > > catch these types of restrictions and fail.
> >
> > No, it uses the full fallback zone list of the target node, not a custom
> > one. Would be hard to detect without a flag.

Right but it specifies in its flags that not all system memory can satisfy
this particular memory request. That fact may be detected by the
out_of_memory() function. We could do something special there instead of
OOMing.



-
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/