[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080110095857.GN25945@bingen.suse.de>
Date: Thu, 10 Jan 2008 10:58:57 +0100
From: Andi Kleen <ak@...e.de>
To: Adrian Bunk <bunk@...nel.org>
Cc: Andi Kleen <ak@...e.de>, rjw@...k.pl, pavel@...e.cz,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH x86] [15/16] Force __cpuinit on for CONFIG_PM without
HOTPLUG_CPU
> It seems the correct solution would be not to hijack __cpuinit
> (as your patch does), but to create a new annotation.
The rationale is that after suspend the CPU has to be reinitialized.
That is because it is essentially like a reboot. All the previous
CPU state is gone.
It doesn't need to touch state in memory only -- if you want
you could create a new annotation for functions that only touch
memory; but I'm not sure it would buy all that much.
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists