Re: [PATCH 1/2 (repost)] mm: serialize OOM kill operations

From: Dave Peterson
Date: Fri Apr 28 2006 - 18:25:00 EST


On Friday 28 April 2006 15:16, Andrew Morton wrote:
> Dave Peterson <dsp@xxxxxxxx> wrote:
> > Yes I am familiar with this sort of problem. :-)
>
> Andrea has long advocated that the memory allocator shouldn't infinitely
> loop for small __GFP_WAIT allocations. ie: ultimately we should return
> NULL back to the caller.
>
> Usually this will cause the correct process to exit. Sometimes it won't.
>
> Did you try it?

Haven't tried it yet. Sounds like a good idea.
-
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/