Subject: libsa/alloc.c 'freelist' initialization
To: None <firstname.lastname@example.org>
From: Chris G. Demetriou <email@example.com>
Date: 05/10/1999 16:00:43
Any reason why 'freelist' in libsa/alloc.c is initialized to 0 rather
than being zero a start by virtue of being in BSS?
Standalone programs have to clear BSS anyway, I can't imagine them
having to allocate memory before doing that, and there's no point in
wasting 4 or 8 bytes in the data segment (which typically must fit
into a fixed size).
Chris Demetriou - firstname.lastname@example.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.