Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 1996 13:57:24 +0200
From:      Poul-Henning Kamp <phk@critter.tfs.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        current@freebsd.org, julian@whistle.com
Subject:   Re: BLOAT in minimal programs 
Message-ID:  <1402.843825444@critter.tfs.com>
In-Reply-To: Your message of "Fri, 27 Sep 1996 20:49:19 %2B1000." <199609271049.UAA20273@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1402.843825444>