Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp577536ybc; Fri, 22 Nov 2019 09:40:13 -0800 (PST) X-Google-Smtp-Source: APXvYqzzdiHUCjYpbxpLt65gMc5PCBiOPYlVvUkNTIqymlmHfpc3MdjhkRzIdVkE2A7gtA54Za+4 X-Received: by 2002:a50:ef08:: with SMTP id m8mr2561628eds.14.1574444413780; Fri, 22 Nov 2019 09:40:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574444413; cv=none; d=google.com; s=arc-20160816; b=knYXzvSv4NpIb2wsFPe/1TwFHH6sTC715MSYPuf9dcdjlbaHvL7z5y604VxZFM4Ium CMRgB34zTYbnVLxFoVxD2fAzC8dIaUDk1cGetGO/VzbjET+wtl8hi+ZbC3CTGG84XL2+ 1JS2sFBqpaG4yenM/oHuPWbNJCZoE93QcSQo/vzfuHxto7PWNa29q9D8YWw9dpFTS6Vm nYzwusOmkug3ymQ6OenLQHk/68AA+lQoPXCzT6Db1VYcde4kp60hJ8NNPRRuFrcV2I9X TuxxW2fF0zdXllRs03FkC95TcrOe/GYatDbGWq2+T2fMQZ+NFpxtXDtSum6XpUuqVgXa q2cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=KatZoek6fRYMjsw1rwXmiWnJXRcAps/FBtk6FX8l/Vo=; b=LvbizqSummS0tvLYyPetFlw3nRKD5xD/0emcB92XgSIckiKCepHzrCRm26FXA/R1VR S6gDLF3IvVkElwEOzReEHAuQFMgwQL5rp1KgN56Nfol16pZnUl/FT6NBq53QTd8SlOg6 R2S7ou3fjp2T52GmyS1PoNyoCLJe6kf3zC26d0mqj2GGz295aA4uoFF9Aaoqc7toIZbK wlvdwclzFrVgXFT//INNbDYUBaeQb1XI9JGwSm/kAFdGYJdThvKPRPNrxKAxowURzNRq 0KsVGQLhn3FTPZhLWJHI/3xy9fr7HZYfbxIg2JMBsbkSmbWmOuLFOLcXQ5BMRj/GSNeO MOqw== 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 v24si2325584edm.399.2019.11.22.09.39.49; Fri, 22 Nov 2019 09:40:13 -0800 (PST) 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 S1726774AbfKVRgf (ORCPT + 99 others); Fri, 22 Nov 2019 12:36:35 -0500 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:34203 "EHLO relay8-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726046AbfKVRge (ORCPT ); Fri, 22 Nov 2019 12:36:34 -0500 X-Originating-IP: 153.3.140.100 Received: from localhost (unknown [153.3.140.100]) (Authenticated sender: fly@kernel.page) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 93CF01BF207; Fri, 22 Nov 2019 17:36:26 +0000 (UTC) Date: Sat, 23 Nov 2019 01:36:13 +0800 From: Pengfei Li To: Christopher Lameter Cc: David Hildenbrand , akpm@linux-foundation.org, mgorman@techsingularity.net, mhocko@kernel.org, vbabka@suse.cz, iamjoonsoo.kim@lge.com, guro@fb.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, fly@kernel.page Subject: Re: [RFC v1 00/19] Modify zonelist to nodelist v1 Message-ID: <20191123013613.566bb40a.fly@kernel.page> In-Reply-To: References: <20191121151811.49742-1-fly@kernel.page> <1bb37491-72a7-feaa-722d-a5825813a409@redhat.com> <20191122234907.4da3bc81.fly@kernel.page> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 22 Nov 2019 15:53:57 +0000 (UTC) Christopher Lameter wrote: > On Fri, 22 Nov 2019, Pengfei Li wrote: > > > I am sorry that I did not make it clear. I want to express this > > series of patches will benefit NUMA systems with multiple nodes. > > Ok but that benefit needs to be quantified somehow. > Thanks for your comments. Yes, I will add detailed performance test data in v2. > > The main benefit is that it will be more efficient when traversing > > all nodes (for example when performing page reclamation). > > And you loose the prioritization of allocations through these > different zones. Sorry, I forgot to mention that the information about the zones that are available to the node is still there. The old for_each_zone_zonelist has been replaced with for_each_zone_nodelist. I will add some key implementation details in v2. > We create zonelists with a certain sequence of the > zones in order to prefer allocations from certain zones. This is in > particular important for the smaller DMA zones which may be easily > exhausted. > I'm not sure if I understand what you mean, but since commit c9bff3eebc09 ("mm, page_alloc: rip out ZONELIST_ORDER_ZONE"), the zonelist is always in "Node" order, so building the nodelist is fine. -- Pengfei