Re: [PATCH] Remove OOM killer from try_to_free_pages / all_unreclaimable braindamage

From: Hugh Dickins
Date: Sat Nov 06 2004 - 04:51:00 EST


On Sat, 6 Nov 2004, Andrea Arcangeli wrote:
>
> all allocations should have a failure path to avoid deadlocks. But in
> the meantime __GFP_REPEAT is at least localizing the problematic places ;)

Problematic, yes: don't overlook that GFP_REPEAT and GFP_NOFAIL _can_
fail, returning NULL: when the process is being OOM-killed (PF_MEMDIE).

Hugh

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