From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f72.google.com (mail-pg0-f72.google.com [74.125.83.72]) by kanga.kvack.org (Postfix) with ESMTP id 982C36B0260 for ; Tue, 22 Nov 2016 23:37:22 -0500 (EST) Received: by mail-pg0-f72.google.com with SMTP id q10so4793047pgq.7 for ; Tue, 22 Nov 2016 20:37:22 -0800 (PST) Received: from mail-pg0-x242.google.com (mail-pg0-x242.google.com. [2607:f8b0:400e:c05::242]) by mx.google.com with ESMTPS id u74si31790271pgc.310.2016.11.22.20.37.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Nov 2016 20:37:21 -0800 (PST) Received: by mail-pg0-x242.google.com with SMTP id p66so194401pga.2 for ; Tue, 22 Nov 2016 20:37:21 -0800 (PST) From: Balbir Singh 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> Sender: owner-linux-mm@kvack.org List-ID: To: linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org Cc: Balbir Singh , Tejun Heo , Andrew Morton , Johannes Weiner , Michal Hocko , Vladimir Davydov 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 -- 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: email@kvack.org