Re: [RFC PATCH 2/4] x86: use dmi check to treat disabled cpus ashotplug cpus.

From: Linus Torvalds
Date: Tue Jan 12 2010 - 11:27:55 EST




On Tue, 12 Jan 2010, Valdis.Kletnieks@xxxxxx wrote:
>
> OK, I'll bite - how do you build an X86-64 kernel that doesn't have
> CONFIG_HOTPLUG_CPU selected? Try as I might, even if I have PM_SLEEP=n,
> PM_SLEEP_SMP insists on being set, and then selecting HOTPLUG_SMP.

If that is true, then there is some bug in the kconfig parser.
PM_SLEEP_SMP depends on PM_SLEEP, so with PM_SLEEP=n it should never be
set.

That said, regardless of any such problems, I do think that we should
think about splitting up HOTPLUG_CPU into two config options: one that
allows CPU's to be put to sleep (which is common, and needed for any
suspend/hibernate support), and one that actually has support for actual
physical hotplugging.

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