From owner-freebsd-stable@FreeBSD.ORG Thu Jul 24 12:43:02 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFDF237B401 for ; Thu, 24 Jul 2003 12:43:02 -0700 (PDT) Received: from wrzx35.rz.uni-wuerzburg.de (wrzx35.rz.uni-wuerzburg.de [132.187.3.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B39243F85 for ; Thu, 24 Jul 2003 12:43:01 -0700 (PDT) (envelope-from mkb@mukappabeta.de) Received: from wrzx34.rz.uni-wuerzburg.de (wrzx34.rz.uni-wuerzburg.de [132.187.3.34]) by wrzx35.rz.uni-wuerzburg.de (Postfix) with ESMTP id DFE1E7320 for ; Thu, 24 Jul 2003 21:42:59 +0200 (CEST) Received: from virusscan (localhost [127.0.0.1]) by wrzx34.rz.uni-wuerzburg.de (Postfix) with ESMTP id CF6E177C05 for ; Thu, 24 Jul 2003 21:42:59 +0200 (CEST) Received: from wrzx28.rz.uni-wuerzburg.de ([132.187.3.28]) ESMTP id 02066-01 for ; Thu, 24 Jul 2003 21:42:59 +0200 (CEST) Received: from haegar.informatik.uni-wuerzburg.de (wi4x41.informatik.uni-wuerzburg.de [132.187.101.41]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id A77C31504 for ; Thu, 24 Jul 2003 21:42:59 +0200 (CEST) Received: from reiher.informatik.uni-wuerzburg.de (wi4d22.informatik.uni-wuerzburg.de [132.187.101.122])96D892544F for ; Thu, 24 Jul 2003 21:42:59 +0200 (CEST) Received: from mukappabeta.de (localhost.informatik.uni-wuerzburg.de [127.0.0.1])725C25C46 for ; Thu, 24 Jul 2003 21:44:44 +0200 (CEST) Message-ID: <3F20372C.5040606@mukappabeta.de> Date: Thu, 24 Jul 2003 21:44:44 +0200 From: Matthias Buelow User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030716 X-Accept-Language: de, de-de, en-gb, en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <200307241734.KAA04726@mina.soco.agilent.com> In-Reply-To: <200307241734.KAA04726@mina.soco.agilent.com> X-Enigmail-Version: 0.76.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new (Rechenzentrum Universitaet Wuerzburg) Subject: Re: malloc does not return null when out of memory X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 19:43:03 -0000 Darryl Okahata wrote: > You know, we could probably eliminate many of these periodic "why > doesn't malloc() return NULL?" threads by simply enhancing the malloc(3) > man page and adding a FAQ entry. Or better yet, fix the VM and disable the dreadful overcommit, or at least provide a knob for the user for disabling it. -- Matthias Buelow; mkb@{mukappabeta.de,informatik.uni-wuerzburg.de}