Re: Automaticly eliminating redundant zero initialisers

From: Russell King (rmk@arm.linux.org.uk)
Date: Mon May 01 2000 - 17:24:21 EST


David Forrest writes:
> I remember that initially BSS meant Bull-S___ Storage, and was
> uninitiallized and in an indeterminate state. It should be initiallized
> before reads, and should not be counted on to be anything: Cautious
> programmers avoid using uninitialized variables, and good compilers warn
> them if they do. If Linux has an initially zero storage space, it has
> more overhead, and isn't quite the old BSS.

I'm not interested theory here. I'm not interested in theory either. I'm
talking practice. And in the present situation - the Linux kernel - the
BSS is explicitly initialised to zero by all architectures.

Please don't quote theory in future when we're discussing a factual
implementation.
   _____
  |_____| ------------------------------------------------- ---+---+-
  | | 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/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:09 EST