Re: [PATCH 3/6] mm, PM/Freezer: Disable OOM killer when tasks arefrozen

From: David Rientjes
Date: Wed May 13 2009 - 19:03:03 EST


On Wed, 13 May 2009, Andrew Morton wrote:

> > This allows __GFP_NOFAIL allocations to fail.
>
> I think that's OK - oom_killer_disable() and __GFP_NOFAIL are
> fundamentally incompatible, and __GFP_NOFAIL is a crock.
>

Ok, so we need some documentation of that or some notification that we're
allowing an allocation to fail that has been specified to "retry
infinitely [because] the caller cannot handle allocation failures."
--
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/