From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-x243.google.com (mail-pg0-x243.google.com [IPv6:2607:f8b0:400e:c05::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3tNqLq2hbgzDvyh for ; Wed, 23 Nov 2016 15:37:23 +1100 (AEDT) Received: by mail-pg0-x243.google.com with SMTP id 3so199574pgd.0 for ; Tue, 22 Nov 2016 20:37:23 -0800 (PST) From: Balbir Singh To: linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org Cc: Balbir Singh , Tejun Heo , Andrew Morton , Johannes Weiner , Michal Hocko , Vladimir Davydov Subject: [mm v2 3/3] powerpc/mm: fix node_possible_map limitations Date: Wed, 23 Nov 2016 15:36:54 +1100 Message-Id: <1479875814-11938-4-git-send-email-bsingharora@gmail.com> In-Reply-To: <1479875814-11938-1-git-send-email-bsingharora@gmail.com> References: <1479875814-11938-1-git-send-email-bsingharora@gmail.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , We've fixed the memory hotplug issue with memcg, hence this work around should not be required. Reverts: commit 3af229f2071f ("powerpc/numa: Reset node_possible_map to only node_online_map") Cc: Tejun Heo Cc: Andrew Morton Cc: Johannes Weiner Cc: Michal Hocko Cc: Vladimir Davydov Signed-off-by: Balbir Singh Acked-by: Michael Ellerman --- arch/powerpc/mm/numa.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c index a51c188..ca8c2ab 100644 --- a/arch/powerpc/mm/numa.c +++ b/arch/powerpc/mm/numa.c @@ -916,13 +916,6 @@ void __init initmem_init(void) memblock_dump_all(); - /* - * Reduce the possible NUMA nodes to the online NUMA nodes, - * since we do not support node hotplug. This ensures that we - * lower the maximum NUMA node ID to what is actually present. - */ - nodes_and(node_possible_map, node_possible_map, node_online_map); - for_each_online_node(nid) { unsigned long start_pfn, end_pfn; -- 2.5.5