Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2849227ybk; Tue, 12 May 2020 09:33:40 -0700 (PDT) X-Google-Smtp-Source: APiQypKwqcBPW6DAry3Gq5VX1xgMYg9L+OMsLBL7Q221Mhi9XwQ3GlfbL9kPlSKW9fMn0WFdncRD X-Received: by 2002:a17:906:1ec3:: with SMTP id m3mr19128321ejj.88.1589301220071; Tue, 12 May 2020 09:33:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589301220; cv=none; d=google.com; s=arc-20160816; b=UBKvlJAlQcRGs7yovIZZPnLkqdClkvkwIRqYWwN7pR4DKlaUUDDzwiklWnQc1p+J43 BDb1pNKoggbvoArxvlEKCELoPlfIfKNAMs83fZtIibzSAXzvtpYLR5Yu0dvL6uGeyFod HxY4X1qBNIcIToSpiT6RBBJ7oUQGfrLtjDbMEqy9NvmPutAgrEh8RwLyCp2cjCd+KbaE vFkkHJBk3mJ3zREnnVHqacoZyLIRtZdQIg22/mxs9LKe1/PsMnSvQeicmQ+Ka0qeZJFf KMLMrpAnyIQfUl/hYD8bjoTNdWW1vQGq1VWLFKDXjebj3r9jJCv2/6Ec0MgyMl3oidRb RaIw== 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=xYFjekkmsMrPciwNYnYeREiYbSq1HuuNgDTNRNAgij4=; b=gpwtFqUPoI2fd4ze7/8+sDAMJomUPdqVYQGeddq+y9asa9fjniTv6flRjrXeNZgD9S uE3nkLitKgsmVc6X/Aai85a2oRKbDE1OncmbEGRVgyR15C8iOwlMjxr4dgJ/OqvQLM+6 mlH2udcN57I6J5lXWK6tYB0DOiJK57sozn2XvoT8hjyF9c3liPJv9d9BxaF/FG+rAMm7 ygjq1StgdRB2dP/JfozdXI7ChFNrAdkfUnaKOfIosJBESlvaIT8SlIhF9kzt9/TGNOGv cM+IlBhLu5G8jM9tBENQdBvVsN76d9LOshA6UuCzAVVXzp431wnFRcpetM8h6jBTnRuo N9UA== 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 v15si7876975edq.394.2020.05.12.09.33.17; Tue, 12 May 2020 09:33:40 -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 S1728305AbgELQb3 (ORCPT + 99 others); Tue, 12 May 2020 12:31:29 -0400 Received: from gentwo.org ([3.19.106.255]:33778 "EHLO gentwo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726465AbgELQb1 (ORCPT ); Tue, 12 May 2020 12:31:27 -0400 Received: by gentwo.org (Postfix, from userid 1002) id F169B3F3DB; Tue, 12 May 2020 16:31:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gentwo.org (Postfix) with ESMTP id F044B3EBBA; Tue, 12 May 2020 16:31:26 +0000 (UTC) Date: Tue, 12 May 2020 16:31:26 +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 , Satheesh Rajendran , David Hildenbrand Subject: Re: [PATCH v4 3/3] mm/page_alloc: Keep memoryless cpuless node 0 offline In-Reply-To: <20200512132937.19295-4-srikar@linux.vnet.ibm.com> Message-ID: References: <20200512132937.19295-1-srikar@linux.vnet.ibm.com> <20200512132937.19295-4-srikar@linux.vnet.ibm.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) 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 Tue, 12 May 2020, Srikar Dronamraju wrote: > +#ifdef CONFIG_NUMA > + [N_ONLINE] = NODE_MASK_NONE, Again. Same issue as before. If you do this then you do a global change for all architectures. You need to put something in the early boot sequence (in a non architecture specific way) that sets the first node online by default. You have fixed the issue in your earlier patches for the powerpc archicture. What about the other architectures? Or did I miss something?