From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 9 Oct 2000 22:06:06 +0200 From: "Andi Kleen" Subject: Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Message-ID: <20001009220606.A20457@gruyere.muc.suse.de> References: <20001009214214.G19583@athlon.random> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from mingo@elte.hu on Mon, Oct 09, 2000 at 10:06:02PM +0200 Sender: owner-linux-mm@kvack.org Return-Path: To: Ingo Molnar Cc: Andrea Arcangeli , Rik van Riel , Byron Stanoszek , Linus Torvalds , MM mailing list , linux-kernel@vger.kernel.org List-ID: On Mon, Oct 09, 2000 at 10:06:02PM +0200, Ingo Molnar wrote: > > On Mon, 9 Oct 2000, Andrea Arcangeli wrote: > > > > No. It's only needed if your OOM algorithm is so crappy that > > > it might end up killing init by mistake. > > > > The algorithm you posted on the list in this thread will kill init if > > on 4Mbyte machine without swap init is large 3 Mbytes and you execute > > a task that grows over 1M. > > i think the OOM algorithm should not kill processes that have > child-processes, it should first kill child-less 'leaves'. Killing a > process that has child processes likely results in unexpected behavior of > those child-processes. (and equals to effective killing of those > child-processes as well.) netscape usually has child processes: the dns helper. -Andi -- 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.eu.org/Linux-MM/