Subject: libsa/alloc.c 'freelist' initialization
To: None <tech-kern@netbsd.org>
From: Chris G. Demetriou <cgd@netbsd.org>
List: tech-kern
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).

Anybody?


cgd
-- 
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.