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 3wYJyd4VllzDqgN for ; Thu, 25 May 2017 16:19:53 +1000 (AEST) From: Michael Ellerman To: Michael Bringmann , Reza Arbab Cc: linux-kernel@vger.kernel.org, Paul Mackerras , "Aneesh Kumar K.V" , Bharata B Rao , Shailendra Singh , Thomas Gleixner , linuxppc-dev@lists.ozlabs.org, Sebastian Andrzej Siewior Subject: Re: [Patch 2/2]: powerpc/hotplug/mm: Fix hot-add memory node assoc In-Reply-To: <8e2417d8-d108-2949-40f2-997d53a3f367@linux.vnet.ibm.com> References: <3bb44d92-b2ff-e197-4bdf-ec6d588d6dab@linux.vnet.ibm.com> <20170523155251.bqwc5mc4jpgzkqlm@arbab-laptop.localdomain> <1c1d70e3-4e45-b035-0e75-1b0f531c111b@linux.vnet.ibm.com> <20170523214922.bns675oqzqj4pkhc@arbab-laptop.localdomain> <87poeya4dt.fsf@concordia.ellerman.id.au> <8e2417d8-d108-2949-40f2-997d53a3f367@linux.vnet.ibm.com> Date: Thu, 25 May 2017 16:19:53 +1000 Message-ID: <87a861a25y.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Michael Bringmann writes: > On 05/24/2017 06:19 AM, Michael Ellerman wrote: >> Michael Bringmann writes: >>> >>> With or without 3af229f2071f, we would still need to add something, somewhere to add new >>> bits to the 'node_possible_map'. That is not being done. >> >> You mustn't add bits to the possible map after boot. >> >> That's its purpose, to tell you what nodes could ever *possibly* exist. > > The problem that I have been encountering is that the 'possible map' did *not* > show all of the possible nodes. OK so how did that happen? The commit message for 3af229f2071f says: In practice, we never see a system with 256 NUMA nodes, and in fact, we do not support node hotplug on power in the first place, so the nodes ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ that are online when we come up are the nodes that will be present for the lifetime of this kernel. Is that no longer true? cheers