public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: Remove EXPERIMENTAL restriction from CONFIG_HOTPLUG_CPU
@ 2008-07-30 19:58 Dimitri Sivanich
  2008-08-04 17:55 ` Max Krasnyansky
  0 siblings, 1 reply; 6+ messages in thread
From: Dimitri Sivanich @ 2008-07-30 19:58 UTC (permalink / raw)
  To: linux-kernel; +Cc: Max Krasnyansky, Robert Hancock, Peter Zijlstra, Ingo Molnar

This removes the EXPERIMENTAL restriction from CONFIG_HOTPLUG_CPU on the x86 architecture.

One question, should we default to 'Y'?

Signed-off-by: Dimitri Sivanich <sivanich@sgi.com>

Index: linux/arch/x86/Kconfig
===================================================================
--- linux.orig/arch/x86/Kconfig	2008-07-30 14:45:16.000000000 -0500
+++ linux/arch/x86/Kconfig	2008-07-30 14:47:54.000000000 -0500
@@ -1365,11 +1365,11 @@ config PHYSICAL_ALIGN
 	  Don't change this unless you know what you are doing.
 
 config HOTPLUG_CPU
-	bool "Support for suspend on SMP and hot-pluggable CPUs (EXPERIMENTAL)"
-	depends on SMP && HOTPLUG && EXPERIMENTAL && !X86_VOYAGER
+	bool "Support for suspend on SMP and hot-pluggable CPUs"
+	depends on SMP && HOTPLUG && !X86_VOYAGER
 	---help---
-	  Say Y here to experiment with turning CPUs off and on, and to
-	  enable suspend on SMP systems. CPUs can be controlled through
+	  Say Y here to allow turning CPUs off and on, and to enable
+	  suspend on SMP systems. CPUs can be controlled through
 	  /sys/devices/system/cpu.
 	  Say N if you want to disable CPU hotplug and don't need to
 	  suspend.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] x86: Remove EXPERIMENTAL restriction from CONFIG_HOTPLUG_CPU
  2008-07-30 19:58 [PATCH] x86: Remove EXPERIMENTAL restriction from CONFIG_HOTPLUG_CPU Dimitri Sivanich
@ 2008-08-04 17:55 ` Max Krasnyansky
  0 siblings, 0 replies; 6+ messages in thread
From: Max Krasnyansky @ 2008-08-04 17:55 UTC (permalink / raw)
  To: Dimitri Sivanich
  Cc: linux-kernel, Robert Hancock, Peter Zijlstra, Ingo Molnar



Dimitri Sivanich wrote:
> This removes the EXPERIMENTAL restriction from CONFIG_HOTPLUG_CPU on the x86 architecture.
Looks good to me.

> One question, should we default to 'Y'?
That I'm not sure. I'd personally be ok if the default was 'Y'.

Max

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] x86: Remove EXPERIMENTAL restriction from CONFIG_HOTPLUG_CPU
@ 2008-08-11 15:46 Dimitri Sivanich
  2008-08-11 16:31 ` Ingo Molnar
  0 siblings, 1 reply; 6+ messages in thread
From: Dimitri Sivanich @ 2008-08-11 15:46 UTC (permalink / raw)
  To: Andrew Morton, linux-kernel; +Cc: Max Krasnyansky

This removes the EXPERIMENTAL restriction from CONFIG_HOTPLUG_CPU on the x86 architecture.

One question, should we default to 'Y'?

Signed-off-by: Dimitri Sivanich <sivanich@sgi.com>

Index: linux/arch/x86/Kconfig
===================================================================
--- linux.orig/arch/x86/Kconfig	2008-07-30 14:45:16.000000000 -0500
+++ linux/arch/x86/Kconfig	2008-07-30 14:47:54.000000000 -0500
@@ -1365,11 +1365,11 @@ config PHYSICAL_ALIGN
 	  Don't change this unless you know what you are doing.
 
 config HOTPLUG_CPU
-	bool "Support for suspend on SMP and hot-pluggable CPUs (EXPERIMENTAL)"
-	depends on SMP && HOTPLUG && EXPERIMENTAL && !X86_VOYAGER
+	bool "Support for suspend on SMP and hot-pluggable CPUs"
+	depends on SMP && HOTPLUG && !X86_VOYAGER
 	---help---
-	  Say Y here to experiment with turning CPUs off and on, and to
-	  enable suspend on SMP systems. CPUs can be controlled through
+	  Say Y here to allow turning CPUs off and on, and to enable
+	  suspend on SMP systems. CPUs can be controlled through
 	  /sys/devices/system/cpu.
 	  Say N if you want to disable CPU hotplug and don't need to
 	  suspend.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] x86: Remove EXPERIMENTAL restriction from CONFIG_HOTPLUG_CPU
  2008-08-11 15:46 Dimitri Sivanich
@ 2008-08-11 16:31 ` Ingo Molnar
  2008-08-11 16:34   ` Dimitri Sivanich
  2008-08-13  7:34   ` Pavel Machek
  0 siblings, 2 replies; 6+ messages in thread
From: Ingo Molnar @ 2008-08-11 16:31 UTC (permalink / raw)
  To: Dimitri Sivanich; +Cc: Andrew Morton, linux-kernel, Max Krasnyansky


* Dimitri Sivanich <sivanich@sgi.com> wrote:

> This removes the EXPERIMENTAL restriction from CONFIG_HOTPLUG_CPU on 
> the x86 architecture.
>
> One question, should we default to 'Y'?

CONFIG_SUSPECT will select it anyway, and when suspend is disabled in 
all likelyhood it's an UP system that does not need any hotplug CPU 
support. So we dont want to enable it by default.

>  config HOTPLUG_CPU
> -	bool "Support for suspend on SMP and hot-pluggable CPUs (EXPERIMENTAL)"
> -	depends on SMP && HOTPLUG && EXPERIMENTAL && !X86_VOYAGER
> +	bool "Support for suspend on SMP and hot-pluggable CPUs"
> +	depends on SMP && HOTPLUG && !X86_VOYAGER
>  	---help---
> -	  Say Y here to experiment with turning CPUs off and on, and to
> -	  enable suspend on SMP systems. CPUs can be controlled through
> +	  Say Y here to allow turning CPUs off and on, and to enable
> +	  suspend on SMP systems. CPUs can be controlled through
>  	  /sys/devices/system/cpu.
>  	  Say N if you want to disable CPU hotplug and don't need to
>  	  suspend.

actually, the original text was incorrect/outdated, as HOTPLUG_CPU was 
already selected outside of EXPERIMENTAL, by PM_SLEEP_SMP.

So for all practical purposes HOTPLUG_CPU was already enabled in the 
Linux distro space by the side-effect of SUSPEND+PM_SLEEP enabling.

Where this change might matter is when CONFIG_PM is disabled 
intentionally on SMP - which is rather rare.

So i've clarified the text as per the commit below - is this fine with 
you?

	Ingo

------------------>
>From 7c13e6a3d15a4ebcc3f40df5f4d19665479f8ca3 Mon Sep 17 00:00:00 2001
From: Dimitri Sivanich <sivanich@sgi.com>
Date: Mon, 11 Aug 2008 10:46:46 -0500
Subject: [PATCH] x86: remove EXPERIMENTAL restriction from CONFIG_HOTPLUG_CPU

This removes the EXPERIMENTAL restriction from CONFIG_HOTPLUG_CPU
on the x86 architecture.

Signed-off-by: Dimitri Sivanich <sivanich@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 arch/x86/Kconfig |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 3d0f2b6..7917962 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1371,14 +1371,14 @@ config PHYSICAL_ALIGN
 	  Don't change this unless you know what you are doing.
 
 config HOTPLUG_CPU
-	bool "Support for suspend on SMP and hot-pluggable CPUs (EXPERIMENTAL)"
-	depends on SMP && HOTPLUG && EXPERIMENTAL && !X86_VOYAGER
+	bool "Support for hot-pluggable CPUs"
+	depends on SMP && HOTPLUG && !X86_VOYAGER
 	---help---
-	  Say Y here to experiment with turning CPUs off and on, and to
-	  enable suspend on SMP systems. CPUs can be controlled through
-	  /sys/devices/system/cpu.
-	  Say N if you want to disable CPU hotplug and don't need to
-	  suspend.
+	  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.
 
 config COMPAT_VDSO
 	def_bool y

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] x86: Remove EXPERIMENTAL restriction from CONFIG_HOTPLUG_CPU
  2008-08-11 16:31 ` Ingo Molnar
@ 2008-08-11 16:34   ` Dimitri Sivanich
  2008-08-13  7:34   ` Pavel Machek
  1 sibling, 0 replies; 6+ messages in thread
From: Dimitri Sivanich @ 2008-08-11 16:34 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: Andrew Morton, linux-kernel, Max Krasnyansky

On Mon, Aug 11, 2008 at 06:31:11PM +0200, Ingo Molnar wrote:
> 
> So i've clarified the text as per the commit below - is this fine with 
> you?
> 

Yes, the text looks OK to me.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] x86: Remove EXPERIMENTAL restriction from CONFIG_HOTPLUG_CPU
  2008-08-11 16:31 ` Ingo Molnar
  2008-08-11 16:34   ` Dimitri Sivanich
@ 2008-08-13  7:34   ` Pavel Machek
  1 sibling, 0 replies; 6+ messages in thread
From: Pavel Machek @ 2008-08-13  7:34 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Dimitri Sivanich, Andrew Morton, linux-kernel, Max Krasnyansky

On Mon 2008-08-11 18:31:11, Ingo Molnar wrote:
> 
> * Dimitri Sivanich <sivanich@sgi.com> wrote:
> 
> > This removes the EXPERIMENTAL restriction from CONFIG_HOTPLUG_CPU on 
> > the x86 architecture.
> >
> > One question, should we default to 'Y'?
> 
> CONFIG_SUSPECT will select it anyway, and when suspend is disabled

Nice typo ;-).

> So i've clarified the text as per the commit below - is this fine with 
> you?
> 
> 	Ingo
> 
> ------------------>
> >From 7c13e6a3d15a4ebcc3f40df5f4d19665479f8ca3 Mon Sep 17 00:00:00 2001
> From: Dimitri Sivanich <sivanich@sgi.com>
> Date: Mon, 11 Aug 2008 10:46:46 -0500
> Subject: [PATCH] x86: remove EXPERIMENTAL restriction from CONFIG_HOTPLUG_CPU
> 
> This removes the EXPERIMENTAL restriction from CONFIG_HOTPLUG_CPU
> on the x86 architecture.
> 
> Signed-off-by: Dimitri Sivanich <sivanich@sgi.com>
> Signed-off-by: Ingo Molnar <mingo@elte.hu>

ACK.

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-08-13  7:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-30 19:58 [PATCH] x86: Remove EXPERIMENTAL restriction from CONFIG_HOTPLUG_CPU Dimitri Sivanich
2008-08-04 17:55 ` Max Krasnyansky
  -- strict thread matches above, loose matches on Subject: below --
2008-08-11 15:46 Dimitri Sivanich
2008-08-11 16:31 ` Ingo Molnar
2008-08-11 16:34   ` Dimitri Sivanich
2008-08-13  7:34   ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox