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