Re: __initdata and struct dmi_system_id?

From: Németh Márton
Date: Sun Sep 14 2008 - 12:27:15 EST


Henrique de Moraes Holschuh wrote:
> On Sun, 14 Sep 2008, Németh Márton wrote:
>> The other interesting question on this topic is that what about the
>> error message strings which are used as parameter of the printk() calls.
>> Those strings are combined together for a function which is marked with
>> __init and the functions which are normal functions. The strings which
>> are only used by the functions marked with __init could be freed, but
>> the strings of the normal functions shouldn't be.
>
> Yeah, if we could get them all in a init.rodata section, we could just throw
> them away along with the init section afterwards...
>
> I do think I have seen a patch about init.rodata in LKML not too long ago,
> though.

Do you mean this one?

Date: Fri, 05 Sep 2008 13:03:17 +0100
From: Jan Beulich <jbeulich@xxxxxxxxxx>
Subject: [PATCH] .init.rodata and modpost adjustments
http://lkml.org/lkml/2008/9/5/126

Regards,

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