From owner-freebsd-current Wed Apr 14 2:49:37 1999 Delivered-To: freebsd-current@freebsd.org Received: from phk.freebsd.dk (phk.freebsd.dk [212.242.40.153]) by hub.freebsd.org (Postfix) with ESMTP id 67E6714F64 for ; Wed, 14 Apr 1999 02:49:33 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (the-menacing-troll.cybercity.dk [212.242.41.238]) by phk.freebsd.dk (8.9.1/8.8.8) with ESMTP id LAA28508; Wed, 14 Apr 1999 11:47:12 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.2/8.9.2) with ESMTP id JAA00368; Wed, 14 Apr 1999 09:37:14 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: mi@aldan.algebra.com Cc: current@freebsd.org Subject: Re: swap-related problems In-reply-to: Your message of "Tue, 13 Apr 1999 18:45:15 EDT." <199904132245.SAA93415@misha.cisco.com> Date: Wed, 14 Apr 1999 09:37:14 +0200 Message-ID: <366.924075434@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199904132245.SAA93415@misha.cisco.com>, Mikhail Teterin writes: >Poul-Henning Kamp once wrote: >Well, this is just an implementation detail, is not it? I don't >mean to critisize, or anything, but such thing as "no available >memory" is a fairly intuitive... Coming down, again, the malloc >should return a usable memory if available and NULL if it's not. >Is not this a "natural" semantics? Why can a program die because >_another_ program ate up all the rest of the memory? You know, this strikes me about as productive a discussion as the "split infinitive should be outlawed by style(9)" we have every so often. Very very fundamental to UNIX philosophy is the maxim that it is roots responsibility to configure the system right. FreeBSD will defend itself against misconfigurations as best it can, this includes shooting processes down when things get too squeezy. Think of it as self-defence. The real problem is that you system isn't configured for what you use it for. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message