From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [PATCH] Prevent OOM from killing init Date: Thu, 22 Mar 2001 23:40:03 +0000 (GMT) In-Reply-To: <20010323002752.A5650@win.tue.nl> from "Guest section DW" at Mar 23, 2001 12:27:52 AM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: From: Alan Cox Sender: owner-linux-mm@kvack.org Return-Path: To: Guest section DW Cc: Alan Cox , Stephen Clouse , Rik van Riel , Patrick O'Rourke , linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: > > Even if malloc fails the situation is no different. > Why do you say so? Because you will fail on other things - stack overflow, signal delivery, eventually it will get you. You just cut the odds down. > > You can do overcommit avoidance in Linux if you are bored enough to try it. > > Would you accept it as the default? Would Linus? I'd like to have it there as an option. As to the default - You would have to see how much applications assume they can overcommit and rely on it. You might find you need a few Gbytes of swap just to boot -- 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/