Re: Unnecessary zero initializers bloating .data

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 20 Dec 1999 00:09:08 +0000 (GMT)


> [Bradley D. LaRonde <brad@ltc.com>]
> > I think there are some unnecessary (and not benign) initializers here
> > and there in the kernel.
> [...]
> > Why explicitly initialize those arrays with 0?
>
> Documentation. ISO rules aside, explicitly initializing what you will

Actually its because old old Linux didnt clear the BSS. There is no incentive
to "fix" perfectly good code so it never gets cleaned up

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/