From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <20010322124727.A5115@win.tue.nl> Date: Thu, 22 Mar 2001 12:47:27 +0100 From: Guest section DW Subject: Re: [PATCH] Prevent OOM from killing init References: <3AB9313C.1020909@missioncriticallinux.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from Rik van Riel on Wed, Mar 21, 2001 at 08:48:54PM -0300 Sender: owner-linux-mm@kvack.org Return-Path: To: Rik van Riel , Patrick O'Rourke Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: On Wed, Mar 21, 2001 at 08:48:54PM -0300, Rik van Riel wrote: > On Wed, 21 Mar 2001, Patrick O'Rourke wrote: > > Since the system will panic if the init process is chosen by > > the OOM killer, the following patch prevents select_bad_process() > > from picking init. There is a dozen other processes that must not be killed. Init is just a random example. > One question ... has the OOM killer ever selected init on > anybody's system ? Last week I installed SuSE 7.1 somewhere. During the install: "VM: killing process rpm", leaving the installer rather confused. (An empty machine, 256MB, 144MB swap, I think 2.2.18.) Last month I had a computer algebra process running for a week. Killed. But this computation was the only task this machine had. Its sole reason of existence. Too bad - zero information out of a week's computation. (I think 2.4.0.) Clearly, Linux cannot be reliable if any process can be killed at any moment. I am not happy at all with my recent experiences. Andries -- 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/