Subject: libsa/alloc.c 'freelist' initialization
To: None <email@example.com>
From: Chris G. Demetriou <firstname.lastname@example.org>
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 - email@example.com - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.