lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <50CAF3C9.3090906@cn.fujitsu.com>
Date:	Fri, 14 Dec 2012 17:39:21 +0800
From:	Lai Jiangshan <laijs@...fujitsu.com>
To:	Tang Chen <tangchen@...fujitsu.com>, akpm@...ux-foundation.org
CC:	isimatu.yasuaki@...fujitsu.com, kamezawa.hiroyu@...fujitsu.com,
	mel@....ul.ie, wency@...fujitsu.com, mingo@...e.hu,
	penberg@...nel.org, torvalds@...ux-foundation.org,
	linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] memory-hotplug: Add help info for CONFIG_MOVABLE_NODE
 option

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@...fujitsu.com>
> Reviewed-by: Yasuaki Ishimatsu <isimatu.yasuaki@...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@...fujitsu.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ