Messages in this thread | ![/](/images/icornerl.gif) | | From | "Bradley D. LaRonde" <> | Subject | Re: Unnecessary zero initializers bloating .data | Date | Sun, 19 Dec 1999 21:25:04 -0500 |
| |
----- Original Message ----- From: "Alan Cox" <alan@lxorguk.ukuu.org.uk> To: "Peter Samuelson" <peter@wire.cadcamlab.org> Cc: <brad@ltc.com>; <linux-kernel@vger.rutgers.edu> Sent: Sunday, December 19, 1999 7:09 PM Subject: Re: Unnecessary zero initializers bloating .data
> > [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
Incentive has arrived. :-)
Regards, Brad
- 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/
| ![\](/images/icornerr.gif) |