Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp131693pxb; Thu, 2 Sep 2021 21:32:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzM8IXlPBpVX79tjHfuNk52cC/jvm1mBiRKEyno9iNiWZByXk+wb+824p6qW77EuTR4xf9V X-Received: by 2002:a17:906:68c2:: with SMTP id y2mr1956701ejr.18.1630643558077; Thu, 02 Sep 2021 21:32:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630643558; cv=none; d=google.com; s=arc-20160816; b=mtrqOiTYnJIQh1rwExYreEW7Q4hKoMl3IYZqZIpPBRD0cEeDf6UPXn7o0IHULjHZGL 0SLohOHazJW9oIPbAPDilKkI0Gh6NQWKxW23pn8RU1WS5GLIaI8OFBQdHOuV+c9GiCnN oaJni5D3e7YWG3qV7LNK0RhOf+4PGxGAEgnBBJY7IOiK+W9XaSi7eaZsk/RAK/2yHO9o NQfkqTsxlZoqkf6GQ/Zmr5DJcOCl8AVvGMIq/AefYwH/pm3Y8+pPpEtQJSJsRm/ufV4n R2c0hDnULCz2ixZGOQhWEyTg0fG+py+KYw37xxRcz4jrb/yAybpzeWFR3FWBQ40f3E+/ qCsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=3fXw27feBEsm7kNLpGdQbayUddkyN9CKQwmFseSbDrs=; b=BDwq3OPVahgdDlqh7WmQ+xh5JnomUXmxJ6U3bqSHHqJHzY78HFsdzra2ZD4hjTrSR4 tB9nBDKu4UoBX5H+EwRytznbWJsdmJeyX9jZFAnrFgJ3gTI2RMrPrDJbdAmD+kbxSmQg kjsxaer3G0PkIu7EwaoPS4UPtZKdlxkOLOktLjVAOfpc82O73gcctiy8krWjfTNyghQU M+Rog7U8ou16eRHMehEAukJSEVqwMjcs0RIiKQ27lA1DamSRU0abzIV8ypxl7XRPbUUX RIs5gfVhGy2BTuIkdCDwXaT7uabvM80ZRO7MjiV7WVAnZHImZ2CFiUjTaMFayc/NZNjZ +5BA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id di3si4432123ejc.490.2021.09.02.21.32.14; Thu, 02 Sep 2021 21:32:38 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232102AbhICEbp (ORCPT + 99 others); Fri, 3 Sep 2021 00:31:45 -0400 Received: from foss.arm.com ([217.140.110.172]:34952 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232624AbhICEbi (ORCPT ); Fri, 3 Sep 2021 00:31:38 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0F230D6E; Thu, 2 Sep 2021 21:30:39 -0700 (PDT) Received: from [10.163.72.65] (unknown [10.163.72.65]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E205E3F5A1; Thu, 2 Sep 2021 21:30:35 -0700 (PDT) Subject: Re: [FIX PATCH 1/2] mm/page_alloc: Print node fallback order To: Bharata B Rao , linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: akpm@linux-foundation.org, kamezawa.hiroyu@jp.fujitsu.com, lee.schermerhorn@hp.com, mgorman@suse.de, Krupa.Ramakrishnan@amd.com, Sadagopan.Srinivasan@amd.com References: <20210830121603.1081-1-bharata@amd.com> <20210830121603.1081-2-bharata@amd.com> From: Anshuman Khandual Message-ID: <9c29181a-b188-ea61-9d86-0d8d0ca4ee04@arm.com> Date: Fri, 3 Sep 2021 10:01:36 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210830121603.1081-2-bharata@amd.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/30/21 5:46 PM, Bharata B Rao wrote: > Print information message about the allocation fallback order > for each NUMA node during boot. > > No functional changes here. This makes it easier to illustrate > the problem in the node fallback list generation, which the > next patch fixes. > > Signed-off-by: Bharata B Rao > --- > mm/page_alloc.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > index eeb3a9cb36bb..22f7ad6ec11c 100644 > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -6277,6 +6277,10 @@ static void build_zonelists(pg_data_t *pgdat) > > build_zonelists_in_node_order(pgdat, node_order, nr_nodes); > build_thisnode_zonelists(pgdat); > + pr_info("Fallback order for Node %d: ", local_node); > + for (node = 0; node < nr_nodes; node++) > + pr_cont("%d ", node_order[node]); > + pr_cont("\n"); > } > > #ifdef CONFIG_HAVE_MEMORYLESS_NODES > Node allocation preference sequence for a given accessing node is an important information on large systems. This information during boot and (hotplug --> online sequence) will help the user. Reviewed-by: Anshuman Khandual