Re: powerpc/mm: allow memory hotplug into an offline node
From: Michael Ellerman <hidden>
Date: 2017-02-01 01:05:36
Also in:
linuxppc-dev
From: Michael Ellerman <hidden>
Date: 2017-02-01 01:05:36
Also in:
linuxppc-dev
On Wed, 2016-11-16 at 16:45:03 UTC, Reza Arbab wrote:
Relax the check preventing us from hotplugging into an offline node.
This limitation was added in commit 482ec7c403d2 ("[PATCH] powerpc numa:
Support sparse online node map") to prevent adding resources to an
uninitialized node.
These days, there is no harm in doing so. The addition will actually
cause the node to be initialized and onlined; add_memory_resource()
calls hotadd_new_pgdat() (if necessary) and node_set_online().
Cc: Balbir Singh <bsingharora@gmail.com>
Cc: Nathan Fontenot <redacted>
Cc: John Allen <redacted>
Signed-off-by: Reza Arbab <redacted>Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/2a8628d41602dc9f988af051a657ee cheers -- 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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>