From owner-freebsd-current Fri Sep 27 04:58:00 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA01561 for current-outgoing; Fri, 27 Sep 1996 04:58:00 -0700 (PDT) Received: from critter.tfs.com ([140.145.230.252]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id EAA01514; Fri, 27 Sep 1996 04:57:54 -0700 (PDT) Received: from critter.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.7.5/8.7.3) with ESMTP id NAA01404; Fri, 27 Sep 1996 13:57:24 +0200 (MET DST) To: Bruce Evans cc: current@freebsd.org, julian@whistle.com Subject: Re: BLOAT in minimal programs In-reply-to: Your message of "Fri, 27 Sep 1996 20:49:19 +1000." <199609271049.UAA20273@godzilla.zeta.org.au> Date: Fri, 27 Sep 1996 13:57:24 +0200 Message-ID: <1402.843825444@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199609271049.UAA20273@godzilla.zeta.org.au>, Bruce Evans writes: >atexit() could use sbrk() instead of malloc(). This would work fairly >well since atexit() rarely needs to expands its default of 32 pointers >(even 32 is wasteful) and never frees its memory. good idea. malloc is safe from this usage. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.