From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 6 Nov 2004 09:47:56 +0000 (GMT) From: Hugh Dickins Subject: Re: [PATCH] Remove OOM killer from try_to_free_pages / all_unreclaimable braindamage In-Reply-To: <20041106015051.GU8229@dualathlon.random> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-linux-mm@kvack.org Return-Path: To: Andrea Arcangeli Cc: Nick Piggin , Jesse Barnes , Marcelo Tosatti , Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: aart@kvack.org