Re: Terminate process that fails on a constrained allocation

From: Andrew Morton
Date: Wed Feb 08 2006 - 16:37:40 EST


Andi Kleen <ak@xxxxxxx> wrote:
>
> On Wednesday 08 February 2006 22:03, Paul Jackson wrote:
> > > I don't think you really want to open a full scale "is the oom killer needed"
> > > thread. Check the archives - there have been some going on for months.
> > >
> > > But I think we can agree that together with mbind the oom killer is pretty
> > > useless, can't we?
> >
> > Excellent points.
> >
> > I approve this patch.
>
> I think it should be put into 2.6.16. Andrew?

Does every single caller of __alloc_pages(__GFP_FS) correctly handle a NULL
return? I doubt it, in which case this patch will cause oopses and hangs.

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