Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 29 Mar 2001 11:21:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 29 Mar 2001 11:20:54 -0500 Received: from dfmail.f-secure.com ([194.252.6.39]:48646 "HELO dfmail.f-secure.com") by vger.kernel.org with SMTP id ; Thu, 29 Mar 2001 11:20:45 -0500 Date: Thu, 29 Mar 2001 18:29:50 +0200 (MET DST) From: Szabolcs Szakacsits To: "Dr. Michael Weller" cc: Andreas Dilger , Martin Dalecki , Ingo Oeser , Jonathan Morton , Rogier Wolff , Subject: Re: OOM killer??? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 29 Mar 2001, Dr. Michael Weller wrote: > On Thu, 29 Mar 2001, Szabolcs Szakacsits wrote: > > The point is AIX *can* guarantee [even for an ordinary process] that > > your signal handler will be executed, Linux can *not*. It doesn't matter > No it can't... and the reason is... So AIX is buggy in eager mode not reserving a couple of extra pages [per process] to be able to run the handler. What AIX version(s) you use? Anyway, as you probably noticed at present I'm not a big supporter of introducing SIGDANGER, too many things can be messed up for little or no gain. > Note that there are nasty users like me, which provide a no_op function > as SIGDANGER handler. For example this. > Joe blow user can code a SIGDANGER exploiting prog that will kill the > whole concept by allocating memory in SIGDANGER. And this. Moreover it shouldn't be malicious, people write happily sighandlers that would blowup thing even without they realise ... And admin still have no control over the things ;) Sure it could be worked around these but I feel it just doesn't worth for the added complexity. > About this early alloction myths: Did you actually read the page? > The fact its controlled by a silly environment variable shows it > is a mere user space issue. This is my question as well ;) Although I didn't read the AIX source but guessed kernel sets a bit in the task structure for eager mode during the exec() syscall and takes care about everything, at least this is what the document suggests ;) [see the bottom of the page] Szaka - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/