All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add help info for CONFIG_MOVABLE_NODE and disable is by default
@ 2012-12-14  9:27 ` Tang Chen
  0 siblings, 0 replies; 8+ messages in thread
From: Tang Chen @ 2012-12-14  9:27 UTC (permalink / raw)
  To: akpm, isimatu.yasuaki, kamezawa.hiroyu, mel, tangchen, laijs,
	wency, mingo, penberg
  Cc: torvalds, linux-mm, linux-kernel

The first patch adds help info for CONFIG_MOVABLE_NODE option.
The second patch disable this option by default.

Tang Chen (2):
  memory-hotplug: Add help info for CONFIG_MOVABLE_NODE option
  memory-hotplug: Disable CONFIG_MOVABLE_NODE option by default.

 mm/Kconfig |   12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

-- 
1.7.10.1


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

* [PATCH 0/2] Add help info for CONFIG_MOVABLE_NODE and disable is by default
@ 2012-12-14  9:27 ` Tang Chen
  0 siblings, 0 replies; 8+ messages in thread
From: Tang Chen @ 2012-12-14  9:27 UTC (permalink / raw)
  To: akpm, isimatu.yasuaki, kamezawa.hiroyu, mel, tangchen, laijs,
	wency, mingo, penberg
  Cc: torvalds, linux-mm, linux-kernel

The first patch adds help info for CONFIG_MOVABLE_NODE option.
The second patch disable this option by default.

Tang Chen (2):
  memory-hotplug: Add help info for CONFIG_MOVABLE_NODE option
  memory-hotplug: Disable CONFIG_MOVABLE_NODE option by default.

 mm/Kconfig |   12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

-- 
1.7.10.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* [PATCH 1/2] memory-hotplug: Add help info for CONFIG_MOVABLE_NODE option
  2012-12-14  9:27 ` Tang Chen
@ 2012-12-14  9:27   ` Tang Chen
  -1 siblings, 0 replies; 8+ messages in thread
From: Tang Chen @ 2012-12-14  9:27 UTC (permalink / raw)
  To: akpm, isimatu.yasuaki, kamezawa.hiroyu, mel, tangchen, laijs,
	wency, mingo, penberg
  Cc: torvalds, linux-mm, linux-kernel

This patch adds help info for CONFIG_MOVABLE_NODE option.

This option allows user to online all memory of a node as movable
memory. So that the whole node can be hotpluged. Users who don't
use hotplug feature are also fine with this option on since they
won't online memory as movable.

Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
Reviewed-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
---
 mm/Kconfig |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/mm/Kconfig b/mm/Kconfig
index 71259e0..2ad51cb 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -150,6 +150,16 @@ config MOVABLE_NODE
 	depends on X86_64
 	depends on NUMA
 	depends on BROKEN
+	help
+	  Allow a node to have only movable memory. Pages used by kernel, such
+	  as direct mapping pages can not be migrated. So the corresponding
+	  memory device can not be hotpluged. This option allows users to
+	  online all the memory of a node as movable memory so that the whole
+	  node can be hotpluged. Users who don't use hotplug feature are fine
+	  with this option on since they don't online memory as movable.
+
+	  Say Y here if you want to hotplug a whole node.
+	  Say N here if you want kernel to use memory on all nodes evenly.
 
 # eventually, we can have this option just 'select SPARSEMEM'
 config MEMORY_HOTPLUG
-- 
1.7.10.1


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

* [PATCH 1/2] memory-hotplug: Add help info for CONFIG_MOVABLE_NODE option
@ 2012-12-14  9:27   ` Tang Chen
  0 siblings, 0 replies; 8+ messages in thread
From: Tang Chen @ 2012-12-14  9:27 UTC (permalink / raw)
  To: akpm, isimatu.yasuaki, kamezawa.hiroyu, mel, tangchen, laijs,
	wency, mingo, penberg
  Cc: torvalds, linux-mm, linux-kernel

This patch adds help info for CONFIG_MOVABLE_NODE option.

This option allows user to online all memory of a node as movable
memory. So that the whole node can be hotpluged. Users who don't
use hotplug feature are also fine with this option on since they
won't online memory as movable.

Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
Reviewed-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
---
 mm/Kconfig |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/mm/Kconfig b/mm/Kconfig
index 71259e0..2ad51cb 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -150,6 +150,16 @@ config MOVABLE_NODE
 	depends on X86_64
 	depends on NUMA
 	depends on BROKEN
+	help
+	  Allow a node to have only movable memory. Pages used by kernel, such
+	  as direct mapping pages can not be migrated. So the corresponding
+	  memory device can not be hotpluged. This option allows users to
+	  online all the memory of a node as movable memory so that the whole
+	  node can be hotpluged. Users who don't use hotplug feature are fine
+	  with this option on since they don't online memory as movable.
+
+	  Say Y here if you want to hotplug a whole node.
+	  Say N here if you want kernel to use memory on all nodes evenly.
 
 # eventually, we can have this option just 'select SPARSEMEM'
 config MEMORY_HOTPLUG
-- 
1.7.10.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* [PATCH 2/2] memory-hotplug: Disable CONFIG_MOVABLE_NODE option by default.
  2012-12-14  9:27 ` Tang Chen
@ 2012-12-14  9:27   ` Tang Chen
  -1 siblings, 0 replies; 8+ messages in thread
From: Tang Chen @ 2012-12-14  9:27 UTC (permalink / raw)
  To: akpm, isimatu.yasuaki, kamezawa.hiroyu, mel, tangchen, laijs,
	wency, mingo, penberg
  Cc: torvalds, linux-mm, linux-kernel

This patch set CONFIG_MOVABLE_NODE to "default n" instead of
"depends on BROKEN".

Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
Reviewed-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
---
 mm/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/Kconfig b/mm/Kconfig
index 2ad51cb..1ed3295 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -149,7 +149,7 @@ config MOVABLE_NODE
 	depends on NO_BOOTMEM
 	depends on X86_64
 	depends on NUMA
-	depends on BROKEN
+	default n
 	help
 	  Allow a node to have only movable memory. Pages used by kernel, such
 	  as direct mapping pages can not be migrated. So the corresponding
-- 
1.7.10.1


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

* [PATCH 2/2] memory-hotplug: Disable CONFIG_MOVABLE_NODE option by default.
@ 2012-12-14  9:27   ` Tang Chen
  0 siblings, 0 replies; 8+ messages in thread
From: Tang Chen @ 2012-12-14  9:27 UTC (permalink / raw)
  To: akpm, isimatu.yasuaki, kamezawa.hiroyu, mel, tangchen, laijs,
	wency, mingo, penberg
  Cc: torvalds, linux-mm, linux-kernel

This patch set CONFIG_MOVABLE_NODE to "default n" instead of
"depends on BROKEN".

Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
Reviewed-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
---
 mm/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/Kconfig b/mm/Kconfig
index 2ad51cb..1ed3295 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -149,7 +149,7 @@ config MOVABLE_NODE
 	depends on NO_BOOTMEM
 	depends on X86_64
 	depends on NUMA
-	depends on BROKEN
+	default n
 	help
 	  Allow a node to have only movable memory. Pages used by kernel, such
 	  as direct mapping pages can not be migrated. So the corresponding
-- 
1.7.10.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: [PATCH 1/2] memory-hotplug: Add help info for CONFIG_MOVABLE_NODE option
  2012-12-14  9:27   ` Tang Chen
@ 2012-12-14  9:39     ` Lai Jiangshan
  -1 siblings, 0 replies; 8+ messages in thread
From: Lai Jiangshan @ 2012-12-14  9:39 UTC (permalink / raw)
  To: Tang Chen, akpm
  Cc: isimatu.yasuaki, kamezawa.hiroyu, mel, wency, mingo, penberg,
	torvalds, linux-mm, linux-kernel

On 12/14/2012 05:27 PM, Tang Chen wrote:
> This patch adds help info for CONFIG_MOVABLE_NODE option.
> 
> This option allows user to online all memory of a node as movable
> memory. So that the whole node can be hotpluged. Users who don't
> use hotplug feature are also fine with this option on since they
> won't online memory as movable.
> 
> Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
> Reviewed-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
> ---
>  mm/Kconfig |   10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/mm/Kconfig b/mm/Kconfig
> index 71259e0..2ad51cb 100644
> --- a/mm/Kconfig
> +++ b/mm/Kconfig
> @@ -150,6 +150,16 @@ config MOVABLE_NODE
>  	depends on X86_64
>  	depends on NUMA
>  	depends on BROKEN
> +	help
> +	  Allow a node to have only movable memory. Pages used by kernel, such
> +	  as direct mapping pages can not be migrated. So the corresponding
> +	  memory device can not be hotpluged. This option allows users to
> +	  online all the memory of a node as movable memory so that the whole
> +	  node can be hotpluged. Users who don't use hotplug feature are fine
> +	  with this option on since they don't online memory as movable.
> +
> +	  Say Y here if you want to hotplug a whole node.
> +	  Say N here if you want kernel to use memory on all nodes evenly.

Thank you for adding the help text which should have been done by me.

Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>

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

* Re: [PATCH 1/2] memory-hotplug: Add help info for CONFIG_MOVABLE_NODE option
@ 2012-12-14  9:39     ` Lai Jiangshan
  0 siblings, 0 replies; 8+ messages in thread
From: Lai Jiangshan @ 2012-12-14  9:39 UTC (permalink / raw)
  To: Tang Chen, akpm
  Cc: isimatu.yasuaki, kamezawa.hiroyu, mel, wency, mingo, penberg,
	torvalds, linux-mm, linux-kernel

On 12/14/2012 05:27 PM, Tang Chen wrote:
> This patch adds help info for CONFIG_MOVABLE_NODE option.
> 
> This option allows user to online all memory of a node as movable
> memory. So that the whole node can be hotpluged. Users who don't
> use hotplug feature are also fine with this option on since they
> won't online memory as movable.
> 
> Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
> Reviewed-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
> ---
>  mm/Kconfig |   10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/mm/Kconfig b/mm/Kconfig
> index 71259e0..2ad51cb 100644
> --- a/mm/Kconfig
> +++ b/mm/Kconfig
> @@ -150,6 +150,16 @@ config MOVABLE_NODE
>  	depends on X86_64
>  	depends on NUMA
>  	depends on BROKEN
> +	help
> +	  Allow a node to have only movable memory. Pages used by kernel, such
> +	  as direct mapping pages can not be migrated. So the corresponding
> +	  memory device can not be hotpluged. This option allows users to
> +	  online all the memory of a node as movable memory so that the whole
> +	  node can be hotpluged. Users who don't use hotplug feature are fine
> +	  with this option on since they don't online memory as movable.
> +
> +	  Say Y here if you want to hotplug a whole node.
> +	  Say N here if you want kernel to use memory on all nodes evenly.

Thank you for adding the help text which should have been done by me.

Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

end of thread, other threads:[~2012-12-14  9:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-14  9:27 [PATCH 0/2] Add help info for CONFIG_MOVABLE_NODE and disable is by default Tang Chen
2012-12-14  9:27 ` Tang Chen
2012-12-14  9:27 ` [PATCH 1/2] memory-hotplug: Add help info for CONFIG_MOVABLE_NODE option Tang Chen
2012-12-14  9:27   ` Tang Chen
2012-12-14  9:39   ` Lai Jiangshan
2012-12-14  9:39     ` Lai Jiangshan
2012-12-14  9:27 ` [PATCH 2/2] memory-hotplug: Disable CONFIG_MOVABLE_NODE option by default Tang Chen
2012-12-14  9:27   ` Tang Chen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.