powerpc/mm: allow memory hotplug into an offline node
patch-notifications at ellerman.id.au
Wed Feb 1 12:05:31 AEDT 2017
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 at gmail.com>
> Cc: Nathan Fontenot <nfont at linux.vnet.ibm.com>
> Cc: John Allen <jallen at linux.vnet.ibm.com>
> Signed-off-by: Reza Arbab <arbab at linux.vnet.ibm.com>
Applied to powerpc next, thanks.
More information about the Linuxppc-dev