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

Tang Chen <[email protected]> Tue, 18 Aug 2015 11:28:11 +0000
Newsgroups org.kernel.vger.linux-hotplug,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pm,org.kvack.linux-mm
Message-ID <[email protected]>
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.