From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751728AbWD1WTY (ORCPT ); Fri, 28 Apr 2006 18:19:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751773AbWD1WTY (ORCPT ); Fri, 28 Apr 2006 18:19:24 -0400 Received: from smtp.osdl.org ([65.172.181.4]:55692 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1751728AbWD1WTX (ORCPT ); Fri, 28 Apr 2006 18:19:23 -0400 Date: Fri, 28 Apr 2006 15:16:38 -0700 From: Andrew Morton To: Dave Peterson Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, riel@surriel.com, nickpiggin@yahoo.com.au, ak@suse.de, pj@sgi.com Subject: Re: [PATCH 1/2 (repost)] mm: serialize OOM kill operations Message-Id: <20060428151638.32ca188e.akpm@osdl.org> In-Reply-To: <200604281459.27895.dsp@llnl.gov> References: <200604271308.10080.dsp@llnl.gov> <20060427155613.15d565b1.akpm@osdl.org> <200604281459.27895.dsp@llnl.gov> X-Mailer: Sylpheed version 1.0.0 (GTK+ 1.2.10; i386-vine-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Dave Peterson wrote: > > Yes I am familiar with this sort of problem. :-) Andrea has long advocated that the memory allocator shouldn't infinitely loop for small __GFP_WAIT allocations. ie: ultimately we should return NULL back to the caller. Usually this will cause the correct process to exit. Sometimes it won't. Did you try it? From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 28 Apr 2006 15:16:38 -0700 From: Andrew Morton Subject: Re: [PATCH 1/2 (repost)] mm: serialize OOM kill operations Message-Id: <20060428151638.32ca188e.akpm@osdl.org> In-Reply-To: <200604281459.27895.dsp@llnl.gov> References: <200604271308.10080.dsp@llnl.gov> <20060427155613.15d565b1.akpm@osdl.org> <200604281459.27895.dsp@llnl.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Dave Peterson Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, riel@surriel.com, nickpiggin@yahoo.com.au, ak@suse.de, pj@sgi.com List-ID: Dave Peterson wrote: > > Yes I am familiar with this sort of problem. :-) Andrea has long advocated that the memory allocator shouldn't infinitely loop for small __GFP_WAIT allocations. ie: ultimately we should return NULL back to the caller. Usually this will cause the correct process to exit. Sometimes it won't. Did you try it? -- 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: email@kvack.org