From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3vClL401mNzDq5s for ; Wed, 1 Feb 2017 12:05:32 +1100 (AEDT) In-Reply-To: <1479314703-18989-1-git-send-email-arbab@linux.vnet.ibm.com> To: Reza Arbab , Benjamin Herrenschmidt , Paul Mackerras , Andrew Morton From: Michael Ellerman Cc: linux-mm@kvack.org, John Allen , linuxppc-dev@lists.ozlabs.org, Nathan Fontenot Subject: Re: powerpc/mm: allow memory hotplug into an offline node Message-Id: <3vClL33fB1z9t9b@ozlabs.org> Date: Wed, 1 Feb 2017 12:05:31 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 > Cc: Nathan Fontenot > Cc: John Allen > Signed-off-by: Reza Arbab Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/2a8628d41602dc9f988af051a657ee cheers