From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1034326AbdEYGT4 (ORCPT ); Thu, 25 May 2017 02:19:56 -0400 Received: from ozlabs.org ([103.22.144.67]:44959 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031296AbdEYGTz (ORCPT ); Thu, 25 May 2017 02:19:55 -0400 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> User-Agent: Notmuch/0.21 (https://notmuchmail.org) 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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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