Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1631083ybh; Sun, 15 Mar 2020 07:21:38 -0700 (PDT) X-Google-Smtp-Source: ADFU+vusUXmK8yiybs9y7K4XqZ8/Vg7r+Wxg4GzBykAkR0Vaxw24GAnVvbWkLeWtanYtHrNgGeEB X-Received: by 2002:a9d:364b:: with SMTP id w69mr5590212otb.309.1584282097940; Sun, 15 Mar 2020 07:21:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584282097; cv=none; d=google.com; s=arc-20160816; b=KFz1a0wTQLbRTw1tWvmAdWyAnFSZHXzPGZMwd/LVBj3SmZxRsRbam1ca+42YwAjicm 486m/QyqeJaAlkz9oD3slpgutnkJ2NGfZ9is7ut/Jx3xEbYndik8UFYZAADuheiGbE7x iY951acLvR+6P85gQO3e6NmX4yOnME3QgD1pXIRa5tmOVcC5J7KdTwhM0bwhssDZL+/q qEwRkvPq3jcCpcCIugydjpC0N4P8Cw1J+hYl8J6MDd2CNSF0QoyM6BkjQulVA2x2DDZ+ MXiGbgSRORHZPGXLReopbOqel+bADnjaHNtln6bkgWVnVRrmY4oe4PoZ+Z2nBw+gV5P7 M+0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=Hs3sSzFJttddfXEbyvmj9xHm3UwZ4MxyPkbooxibb0Q=; b=HTSyeS2J3UGY+k8aHTZU+88vbLzMK/pN2l9KmMPG0/PTVkhiz4gUDGYrDubGNx5UKu xemSf05NzxvC3BBgXIZFavZRhtS46Rh5yeWh4G3nE+FsCuLSfPp9IZI3eo6LQqyaK/mx FMm8hyl89zxz3ffYtNJBhfqOOZvUY0QLLVs5PFgZOi3DkQog3fl60lOSTL/dK5TvPwn+ 7uo6j8wfl6/cgF7yPTwZUQdm9fNOxWpPPOgUeamgoLOtgtX9Rpq0ApnBiV2ytgkGN4vM 9IiCzP+V8ltaxhqNeYgfr8V6dvxM063GJzDILTIgbVYL+g7OHT8iorXLf5/oSQ/Z5rmU fuVg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a5si8071054oii.181.2020.03.15.07.21.25; Sun, 15 Mar 2020 07:21:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728272AbgCOOUG (ORCPT + 99 others); Sun, 15 Mar 2020 10:20:06 -0400 Received: from gentwo.org ([3.19.106.255]:43654 "EHLO gentwo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727778AbgCOOUF (ORCPT ); Sun, 15 Mar 2020 10:20:05 -0400 Received: by gentwo.org (Postfix, from userid 1002) id 1BDDF3F7A9; Sun, 15 Mar 2020 14:20:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gentwo.org (Postfix) with ESMTP id 19C4C3F6EC; Sun, 15 Mar 2020 14:20:05 +0000 (UTC) Date: Sun, 15 Mar 2020 14:20:05 +0000 (UTC) From: Christopher Lameter X-X-Sender: cl@www.lameter.com To: Srikar Dronamraju cc: Andrew Morton , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Michal Hocko , Mel Gorman , Vlastimil Babka , "Kirill A. Shutemov" , Linus Torvalds Subject: Re: [PATCH 3/3] mm/page_alloc: Keep memoryless cpuless node 0 offline In-Reply-To: <20200311110237.5731-4-srikar@linux.vnet.ibm.com> Message-ID: References: <20200311110237.5731-1-srikar@linux.vnet.ibm.com> <20200311110237.5731-4-srikar@linux.vnet.ibm.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 11 Mar 2020, Srikar Dronamraju wrote: > Currently Linux kernel with CONFIG_NUMA on a system with multiple > possible nodes, marks node 0 as online at boot. However in practice, > there are systems which have node 0 as memoryless and cpuless. Would it not be better and simpler to require that node 0 always has memory (and processors)? A mininum operational set? We can dynamically number the nodes right? So just make sure that the firmware properly creates memory on node 0?