Re: [Patch 2/2]: powerpc/hotplug/mm: Fix hot-add memory node assoc

From: Reza Arbab
Date: Tue May 23 2017 - 11:53:04 EST


On Tue, May 23, 2017 at 10:15:44AM -0500, Michael Bringmann wrote:
+static void setup_nodes(void)
+{
+ int i, l = 32 /* MAX_NUMNODES */;
+
+ for (i = 0; i < l; i++) {
+ if (!node_possible(i)) {
+ setup_node_data(i, 0, 0);
+ node_set(i, node_possible_map);
+ }
+ }
+}

This seems to be a workaround for 3af229f2071f ("powerpc/numa: Reset node_possible_map to only node_online_map").

Balbir, you have a patchset which reverts it. Do you think that will be getting merged?

http://lkml.kernel.org/r/1479253501-26261-1-git-send-email-bsingharora@xxxxxxxxx
(see patch 3/3)

--
Reza Arbab