Subject: libsa/alloc.c 'freelist' initialization
To: None <>
From: Chris G. Demetriou <>
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).


Chris Demetriou - -
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.