How to handle TIF_MEMDIE stalls?

David Rientjes rientjes at google.com
Mon Feb 23 15:33:51 CST 2015


On Sat, 21 Feb 2015, Johannes Weiner wrote:

> From: Johannes Weiner <hannes at cmpxchg.org>
> 
> mm: page_alloc: revert inadvertent !__GFP_FS retry behavior change
> 
> Historically, !__GFP_FS allocations were not allowed to invoke the OOM
> killer once reclaim had failed, but nevertheless kept looping in the
> allocator.  9879de7373fc ("mm: page_alloc: embed OOM killing naturally
> into allocation slowpath"), which should have been a simple cleanup
> patch, accidentally changed the behavior to aborting the allocation at
> that point.  This creates problems with filesystem callers (?) that
> currently rely on the allocator waiting for other tasks to intervene.
> 
> Revert the behavior as it shouldn't have been changed as part of a
> cleanup patch.
> 
> Fixes: 9879de7373fc ("mm: page_alloc: embed OOM killing naturally into allocation slowpath")
> Signed-off-by: Johannes Weiner <hannes at cmpxchg.org>

Cc: stable at vger.kernel.org [3.19]
Acked-by: David Rientjes <rientjes at google.com>



More information about the xfs mailing list