Re: const __init

Keith Owens (kaos@ocs.com.au)
Mon, 21 May 2001 10:58:39 +1000


On Sun, 20 May 2001 22:16:11 +0200,
Franz Sirl <Franz.Sirl-kernel@lauterbach.com> wrote:
>Yes, and gcc3 errors on these constructs, cause it cannot decide if the data
>should be put into a .data or .rodata section.
>Dunno if it's worth to create a __initconstdata/__initrodata though, but it
>would be easy implement I guess.

Not worth it. Adding finer grained init.data sections requires changes
to every architecture's vmlinux.lds script but it gains you nothing,
the sections are discarded after the kernel has booted.

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