Re: [Patch V3 9/9] mm, x86: Enable memoryless node support to better support CPU/memory hotplug

From: Tang Chen
Date: Tue Aug 18 2015 - 07:30:26 EST



On 08/18/2015 02:59 PM, Jiang Liu wrote:

...
}
@@ -739,6 +746,22 @@ void __init init_cpu_to_node(void)
if (!node_online(node))
node = find_near_online_node(node);

Hi Liu,

If cpu-less, memory-less and normal node will all be online anyway,
I think we don't need to find_near_online_node() any more for
CPUs on offline nodes.

Or is there any other case ?

Thanks.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/