From owner-freebsd-hackers Wed Apr 29 14:46:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA08761 for freebsd-hackers-outgoing; Wed, 29 Apr 1998 14:46:13 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail1.its.rpi.edu (root@mail1.its.rpi.edu [128.113.100.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA08615 for ; Wed, 29 Apr 1998 14:45:27 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail1.its.rpi.edu (8.8.8/8.8.6) with ESMTP id RAA76450 for ; Wed, 29 Apr 1998 17:45:16 -0400 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Sender: drosih@pop1.rpi.edu Message-Id: In-Reply-To: References: <199804290208.TAA07145@usr01.primenet.com> Date: Wed, 29 Apr 1998 17:48:38 -0400 To: freebsd-hackers@FreeBSD.ORG From: Garance A Drosihn Subject: Re: SIGDANGER Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 12:23 PM -0700 4/29/98, Conrad Minshall wrote: > Terry: > > If the guy with the highest working set has a SIGDANGER (I prefer > > naming like SIGLOWMEM or something more descriptive of what the > > signal actually indicates) handler registered, and pages do not > > become available, then shoot the next highest working set guy, > > and so on. > > SIGLOSWAP then?. I chose SIGDANGER as I thought there might be a more > general purpose use than just for critical lack of paging space. The > generalized SIGDANGER was intended to mean "The system is in danger of > crashing very soon. Processes, consider yourself warned." If what we're implementing is basically the same as AIX's SIGDANGER, then I'd just as soon call it SIGDANGER. Some of the things I write need to run on multiple operating systems (including AIX), and it'd be nice if intelligently-written freebsd programs would just happen to do the same things when ported to another system which supports those things. [of course, the first question is whether freebsd ends up with something which really is about the same as SIGDANGER. If we end up which works differently, then it'd be better to use a different name for it] --- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu Senior Systems Programmer or drosih@rpi.edu Rensselaer Polytechnic Institute To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message