Re: [patch] 2.5: kill PF_MEMDIE

Rik van Riel (riel@conectiva.com.br)
Mon, 25 Nov 2002 11:13:50 -0200 (BRST)


On 25 Nov 2002, Robert Love wrote:

> PF_MEMDIE seems to serve no needed purpose in 2.5. In fact, it seems it
> has no point in 2.4, either.

Actually it does. If the task that's being OOM killed is in
try_to_free_pages() it'll clear PF_MEMALLOC before going back
into __alloc_pages() and it might not die.

Rik

-- 
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/		http://guru.conectiva.com/
Current spamtrap:  <a href=mailto:"october@surriel.com">october@surriel.com</a>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/