From owner-freebsd-current Wed Apr 14 13: 3:35 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 7854E1579F for ; Wed, 14 Apr 1999 13:03:25 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by phk.freebsd.dk (8.9.1/8.8.8) with ESMTP id WAA00854; Wed, 14 Apr 1999 22:01:04 +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 WAA01894; Wed, 14 Apr 1999 22:00:59 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: alk@pobox.com Cc: dcs@newsguy.com, current@FreeBSD.org Subject: Re: swap-related problems In-reply-to: Your message of "Wed, 14 Apr 1999 14:55:27 CDT." <14100.61923.427423.153188@avalon.east> Date: Wed, 14 Apr 1999 22:00:59 +0200 Message-ID: <1892.924120059@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <14100.61923.427423.153188@avalon.east>, Anthony Kimball writes: > >: > All I want is that a program gets NULL from malloc if there is no memory >: > available. I find that to be a very fundamental thing about malloc. > >: Do you have a solution? We don't. > >Make an sbrk variant which will pre-allocate backing store. >setenv MALLOC_PREALLOCATE > >Not so hard. 1. Demonstrate the need. 2. Implement it 3. Send patches. -- 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