Re: [PATCH] get rid if __cpuinit and __cpuexit

From: Tony Luck
Date: Fri Oct 24 2008 - 14:01:59 EST


On Wed, Oct 22, 2008 at 6:07 PM, Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:
> interesting... I don't see how that can be unless the checks originally
> had a bug and did not complain about a reference to __init(data) memory
> from inside __cpuinit memory...
> (in which case my point of this being too complex and fragile is
> proven ;-)

Definitely too complex and fragile. I rebuilt with
CONFIG_DEBUG_SECTION_MISMATCH=y
and found that this patch just shuffled everything
around. Only 4 mismatch warnings were the same
with this patch, 11 old warnings went away, but
14 new ones appeared!

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