Re: how interesting are data->bss patches?

From: Jeff Garzik (jgarzik@mandrakesoft.mandrakesoft.com)
Date: Sun Sep 24 2000 - 08:31:12 EST


> On Sat, 23 Sep 2000 20:59:59 -0500 (CDT),
> Peter Samuelson <peter@cadcamlab.org> wrote:
> >(A related question: __initdata *does* have to be initialized, right?)
>
> If __initdata is not initialized then it ends up in the global .bss.
> This would defeat the purpose of using __initdata.

I am glad this was mentioned... It is a valid use of __initdata for
static variables which you want to go away after boot. There might be
some wasted space lurking here and there due to un-init'd __initdata
vars.

        Jeff

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



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:12 EST