NetBSD Problem Report #31113

From raeburn@MIT.EDU  Thu Sep  1 00:28:19 2005
Return-Path: <raeburn@MIT.EDU>
Received: from biscayne-one-station.mit.edu (BISCAYNE-ONE-STATION.MIT.EDU [18.7.7.80])
	by narn.netbsd.org (Postfix) with ESMTP id DCBF463B84C
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  1 Sep 2005 00:28:18 +0000 (UTC)
Message-Id: <tx1d5ntmy1x.fsf@mit.edu>
Date: Wed, 31 Aug 2005 20:28:10 -0400
From: Ken Raeburn <raeburn@MIT.EDU>
To: gnats-bugs@netbsd.org
Subject: want malloc option like 'A' but allow out-of-memory
X-Send-Pr-Version: 3.95

>Number:         31113
>Category:       lib
>Synopsis:       want malloc option like 'A' but allow out-of-memory
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 01 00:29:00 +0000 2005
>Originator:     Ken Raeburn
>Release:        NetBSD 2.0
>Organization:
	MIT
>Environment:
System: NetBSD venix.mit.edu 2.0 NetBSD 2.0 (GENERIC) #0: Tue Nov 30 21:04:03 UTC 2004 builds@build:/big/builds/ab/netbsd-2-0-RELEASE/alpha/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/alpha/compile/GENERIC alpha
Architecture: alpha
Machine: alpha
>Description:

In lib/31112 I described how some programs, including apparently some
system programs, are written to handle running out of memory cleanly
(running a garbage collector, reducing cache, whatever), and may even
expect to run out of memory in normal operation.  Because of these
programs, 'A' is inappropriate for a system-wide malloc option a la
/etc/malloc.conf.

However, an option like 'A' that does not consider running out of
memory to be an error would probably be just fine for system-wide use.

>How-To-Repeat:
        N/A
>Fix:
        pick a new letter, add a new flag in malloc.c, etc

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.