> -----Original Message----- > From: kernelnewbies-bounce@xxxxxxxxxxxx > [mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of John > Anthony Kazos Jr. > Sent: 25 March 2007 11:59 AM > To: Daniel Cheng > Cc: kernelnewbies@xxxxxxxxxxxx > Subject: Re: Zero Initialized in BSS > > > no, > > kernel-hacking guides say you should not initialize it *explicitly*, > > because gcc have done that you for *implicitly* already. > > So initializing it explicitly does take it out of bss, even > though it's > initialized to zero and that GCC flag is on? Hi John, I think what the kernel-hacking guides are getting at is that it has already effectively been initialised to zero, therefore doing it again is just a waste of processor cycles. Martyn ---- Martyn Welch Principal Software Engineer Radstone Digital Processing Part of GE Fanuc Embedded Systems Phone: +44 (0) 1327 322748 email: martyn.welch@xxxxxxxxxxxxxx web: www.radstone.com ________________________________________________________________________ This e-mail has been scanned for all viruses by Star.The service is powered by MessageLabs. ________________________________________________________________________ -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ