Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2129771ybz; Sat, 2 May 2020 16:07:24 -0700 (PDT) X-Google-Smtp-Source: APiQypL+rds/xDaGsRDa+c3eXNexQ6U8ZLRQFA6GUpAxZD+911XIXzpy6g+G/0agDDxIC4Bx9Qy4 X-Received: by 2002:a50:c60c:: with SMTP id k12mr9083719edg.111.1588460843762; Sat, 02 May 2020 16:07:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588460843; cv=none; d=google.com; s=arc-20160816; b=Y5mPI+gfdRuaBzVXgwDb6P1iCLlvsRts2AQ/m3OIiQsssqGcKZkp+/WriDMZIgw0cY hKyteIPjDZ6kQ497FHg1cv8HlCGr0bNGm0z9hySFG7nDyB5BkXYg36UPkp+XDTyyq0p2 uAPw2cASxnLfs4MlaFfryCMxNrGzdQuVD9/RVbdGkC7cfJKCy0a4eLhPcvSVxIln6zHD ef1q35FGgPPD02CYf5MU5WhvRVvn2P5agXo6apk8YbCIlyLuF7qFL3D83V4fyineYLGx /TsIelz8JlD6to8IL2VU6QkJ3Rph0+9fOIqGnQK1SAhqT5wM2uxMUnoHq3H0WVGAjCbo 8F0A== 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=Va7vhnGya/wDHjixjMNGp0A0fbNBEoDeGmE/wjvE7x4=; b=bdft5weVG5pepmIfNeBiIb+ig14ZjGFDtfxqdxqMSQnW0GWgq3+dzb4smT1xN5xTO4 LtUUNgZxgMLPRkwIGrILOKowHBu/OdZ5VMJ81cXiet1286fZJBRZ8v/A7deennvlo9fl 2M2WgfH/2UQ9W5iSoHKkGin+cHO3vngCU0SEYUY01CHEmZIhVxgVYXdvchbHvzrqvghq MGnUSpD+OR6dcsYW/+wimqbQpg6vAtO5J/3hG59YcZtxcv26FmIVfz+ToVbNr+8cgUs4 M3rxbNogWqphVzrKmP8fKZbk9nBBfRjJAOQosQ+Lt5lreli/0p9eAq5QzMYyLXzftmWz gyBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v29si4813319eda.533.2020.05.02.16.06.58; Sat, 02 May 2020 16:07:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728620AbgEBXF3 (ORCPT + 99 others); Sat, 2 May 2020 19:05:29 -0400 Received: from gentwo.org ([3.19.106.255]:55972 "EHLO gentwo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728587AbgEBXF3 (ORCPT ); Sat, 2 May 2020 19:05:29 -0400 Received: by gentwo.org (Postfix, from userid 1002) id DC6843E900; Sat, 2 May 2020 23:05:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gentwo.org (Postfix) with ESMTP id DA7C53E817; Sat, 2 May 2020 23:05:28 +0000 (UTC) Date: Sat, 2 May 2020 23:05:28 +0000 (UTC) From: Christopher Lameter X-X-Sender: cl@www.lameter.com To: Srikar Dronamraju cc: Andrew Morton , linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Michal Hocko , Mel Gorman , Vlastimil Babka , "Kirill A. Shutemov" , Michael Ellerman , Linus Torvalds , Gautham R Shenoy Subject: Re: [PATCH v3 3/3] mm/page_alloc: Keep memoryless cpuless node 0 offline In-Reply-To: <20200501031128.19584-4-srikar@linux.vnet.ibm.com> Message-ID: References: <20200501031128.19584-1-srikar@linux.vnet.ibm.com> <20200501031128.19584-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 Fri, 1 May 2020, Srikar Dronamraju wrote: > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -116,8 +116,10 @@ EXPORT_SYMBOL(latent_entropy); > */ > nodemask_t node_states[NR_NODE_STATES] __read_mostly = { > [N_POSSIBLE] = NODE_MASK_ALL, > +#ifdef CONFIG_NUMA > + [N_ONLINE] = NODE_MASK_NONE, Hmmm.... I would have expected that you would have added something early in boot that would mark the current node (whatever is is) online instead?