lkml.org 
[lkml]   [2000]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjecthow interesting are data->bss patches?

Not that any of us who don't do embedded projects ought to care very
much, but I was curious. I grepped test9pre6 for globals initialized
to 0 or NULL and came up with 2495 lines, first iteration. At 4-byte
alignment this works out to something over 9k of .data that should be
.bss (not that anyone compiles very much of this in at a time).

A lot of recent Linus patches seem to have this conversion in them, so
it seems someone *does* care about image size. (Presumably people
running the kernel in-place from flash, right?) Would anyone be
interested in patches to uninitialize these variables? I'd be willing
to proofread my grep output.

(A related question: __initdata *does* have to be initialized, right?)

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

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