This is an archived copy of the Xen.org mailing list, which we have
preserved to ensure that existing links to archives are not broken.
The live archive, which contains the latest emails, can be found at
http://lists.xen.org/
> Does it compile as is with CONFIG_HOTPLUG_CPU=n ?
Not exactly. To set CONFIG_HOTPLUG_CPU=n I had to do ( not sure steps are really required ) :-
1) kernel/power/Kconfig. Step 1 config PM_SLEEP_SMP bool depends on SMP depends on ARCH_SUSPEND_POSSIBLE || ARCH_HIBERNATION_POSSIBLE depends on PM_SLEEP # select HOTPLUG_CPU default y
2) arch/x86/Kconfig Step 2 config HOTPLUG_CPU # bool "Support for hot-pluggable CPUs" def_bool
n # depends on SMP && HOTPLUG ---help--- Say Y here to allow turning CPUs off and on. CPUs can be controlled through /sys/devices/system/cpu. ( Note: power management support will enable this option automatically on SMP systems. ) Say N if you want to disable CPU hotplug.
But , the result should be the same. HOTPLUG_CPU feature should be broken. It's second kernel been built. I have not tested it yet. First one with HOTPLUG_CPU=y and ARCH_CPU_PROBE_RELEASE=n seems to work OK.
Boris.
Boris.
--- On Sun,
10/10/10, listmail <listmail@xxxxxxxxxxxx> wrote:
From: listmail <listmail@xxxxxxxxxxxx> Subject: Re: [Xen-users] Attempt to apply xen-patches-2.6.34-4.tar.bz2 to 2.6.34.7 vanilla To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx> Cc: xen-users@xxxxxxxxxxxxxxxxxxx Date: Sunday, October 10, 2010, 11:44 AM
On 10/10/2010 10:51 AM, Mike Viau wrote: >> On Sun, 10 Oct 2010 07:35:55 -0700<bderzhavets@xxxxxxxxx> wrote: >> >> Another way to disable this calls via include/linux/cpu.h , having >> CONFIG_HOTPLUG_CPU=y is to change arch/x86/Kconfig :- >> >> --- arch/x86/Kconfig.orig 2010-10-10 18:29:24.490068330 +0400 >> +++
arch/x86/Kconfig 2010-10-10 17:50:22.383715068 +0400 >> @@ -254,8 +254,8 @@ >> def_bool X86_32 >> >> config ARCH_CPU_PROBE_RELEASE >> - def_bool y >> - depends on HOTPLUG_CPU >> + def_bool n >> +# depends on HOTPLUG_CPU >> >> Boris > What are the reciprocation of turning off the ability to HOTPLUG_CPU? Is this feature ever used by XEN? > > Thanks. > > -M > > _______________________________________________ > Xen-users mailing list > Xen-users@xxxxxxxxxxxxxxxxxxx > http://lists.xensource.com/xen-users