lkml.org 
[lkml]   [2000]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2.3.48] initrd fix (Mike Galbraith)
Date
Alan Cox writes:
> > Is there any reason (apart from making vmlinux and kernel binary images larger)
> > for explicitly initialising variables with 0 when they will be placed in the
> > BSS anyway?
>
> Long long ago (before 1.0) the kernel didnt zero the BSS. Some legacy of
> that survives in old assignments - otherwise none

Oh, I remember those kernels ;)

However, I noticed that the patch was introducing some extra explicit zero
initialisations.
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King rmk@arm.linux.org.uk --- ---
| | | | http://www.arm.linux.org.uk/~rmk/aboutme.html / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.078 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site