Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1460893

Re: [PATCH 3/4] powerpc/mm: allow memory hotplug into a memoryless node

From Balbir Singh <bsingharora@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/4] powerpc/mm: allow memory hotplug into a memoryless node
Date 2016-08-12 04:00 +0200
Message-ID <s59Vo-3zi-7@gated-at.bofh.it> (permalink)
References <s3Xtf-4VJ-7@gated-at.bofh.it> <s3Xtf-4VJ-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 09/08/16 04:27, Reza Arbab wrote:
> Remove the check which prevents us from hotplugging into an empty node.
> 
> Signed-off-by: Reza Arbab <arbab@linux.vnet.ibm.com>
> ---
>  arch/powerpc/mm/numa.c | 13 +------------
>  1 file changed, 1 insertion(+), 12 deletions(-)
> 
> diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
> index 80d067d..bc70c4f 100644
> --- a/arch/powerpc/mm/numa.c
> +++ b/arch/powerpc/mm/numa.c
> @@ -1127,7 +1127,7 @@ static int hot_add_node_scn_to_nid(unsigned long scn_addr)
>  int hot_add_scn_to_nid(unsigned long scn_addr)
>  {
>  	struct device_node *memory = NULL;
> -	int nid, found = 0;
> +	int nid;
>  

Do we want to do this only for ibm,hotplug-aperture compatible ranges?

I'm OK either ways

Acked-by: Balbir Singh <bsingharora@gmail.com>

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH 3/4] powerpc/mm: allow memory hotplug into a memoryless  node Balbir Singh <bsingharora@gmail.com> - 2016-08-12 04:00 +0200
  Re: [PATCH 3/4] powerpc/mm: allow memory hotplug into a memoryless  node Reza Arbab <arbab@linux.vnet.ibm.com> - 2016-08-12 19:30 +0200

csiph-web