Re: CPU hotplug on i386

From: Rafael J. Wysocki
Date: Wed Mar 16 2005 - 18:51:51 EST


Hi,

On Wednesday, 16 of March 2005 18:09, Nathan Lynch wrote:
> On Wed, Mar 16, 2005 at 02:21:52PM +0100, Pavel Machek wrote:
> > Hi!
> >
> > I tried to solve long-standing uglyness in swsusp cmp code by calling
> > cpu hotplug... only to find out that CONFIG_CPU_HOTPLUG is not
> > available on i386. Is there way to enable CPU_HOTPLUG on i386?
>
> i386 cpu hotplug has been in -mm for a while. Don't know when (if
> ever) it will get merged.

Thanks a lot for this hint! ;-)

Pavel, I've ported the basic i386 CPU hotplug stuff, without the sysfs
interface, to x86-64 (a cut'n'paste kind of work, mostly). For now, I've
made HOTPLUG_CPU on x86-64 depend on SMP and SOFTWARE_SUSPEND and be set
automatically.

I'm going to test it together with your patch tomorrow.

Greets,
Rafael


--
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"
-
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/