From owner-cvs-src Tue Mar 18 18:16: 5 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6FEA37B401; Tue, 18 Mar 2003 18:16:02 -0800 (PST) Received: from mail01.stbernard.com (mail01.stbernard.com [64.154.93.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08FE943F75; Tue, 18 Mar 2003 18:16:01 -0800 (PST) (envelope-from wes@softweyr.com) Received: from salty.rapid.stbernard.com ([192.168.4.61]) by mail01.stbernard.com with Microsoft SMTPSVC(5.0.2195.5329); Tue, 18 Mar 2003 18:16:00 -0800 From: Wes Peters Organization: Softweyr.com To: Garance A Drosihn , "Daniel C. Sobral" Subject: Re: cvs commit: src/sys/vm ... SIGDANGER Date: Tue, 18 Mar 2003 18:16:00 -0800 User-Agent: KMail/1.5 Cc: Juli Mallett , Eivind Eklund , Mike Silbersack , David Schultz , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200303122313.h2CNDHMU046431@repoman.freebsd.org> <3E720B5B.8090200@tcoip.com.br> In-Reply-To: X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303181816.00023.wes@softweyr.com> X-OriginalArrivalTime: 19 Mar 2003 02:16:00.0287 (UTC) FILETIME=[7BE2FAF0:01C2EDBD] Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Friday 14 March 2003 12:00, Garance A Drosihn wrote: > > http://nscp.upenn.edu/aix4.3html/aixbman/baseadmn/pag_space_under.htm > > When the number of free paging-space blocks falls below a > threshold known as the paging-space warning level, the system > informs all processes (except kprocs) of this condition by > sending the SIGDANGER signal. > > If the shortage continues and falls below a second threshold > known as the paging-space kill level, the system sends the > SIGKILL signal to processes that are the major users of > paging space and that do not have a signal handler for the > SIGDANGER signal Oh, that's clever. Obviously if you install a handler for SIGDANGER you're telling the system you don't want to get whacked in low memory situations. I'd certainly like to see that behavior duplicated if someone does get around to implemented SIGDANGER. (Sorry, I'm catching up on email from a disconnected weekend and you've just stumbled across a pet project from work here.) -- "Where am I, and what am I doing in this handbasket?" Wes Peters wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message