Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp386202ybb; Fri, 20 Mar 2020 00:35:37 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsZn6YfYD1TlKy080LYJiqYKW490eqiomZllIp7S48FeTt+4sAReB8lblPLprX3vSbGI6lP X-Received: by 2002:a9d:769a:: with SMTP id j26mr4459220otl.143.1584689736980; Fri, 20 Mar 2020 00:35:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584689736; cv=none; d=google.com; s=arc-20160816; b=Q8uKnDMDFMGIY65moM3z1If+964qlzIa92VKosf5tE+q1+5gU1zgxAfn6TiFkyf0PV l9CWuJeO5Xn8AovjA+yzk1AGdXmrH7kcWoiVDDIpJABKRhvFJ3sh0EvcOZ+qhxLCGUny JqMECBESOaZy3eQv8XioY0Tao4vSgcngi2UO32yt+4qb4tniGVOHLMsAwvJcuf4/ZzE5 X4841tTmxK/1J6Rf+ynL2MIRw1FS2BK/ETU6nzF3FyzqUCLKdBTu3dD8wn8/iyV1vWLL Njfp2MbNa63MhE8IPftEgd7EfJiSZsRZ1AcIrZJNXkvyPzZgV4+3CZpQeAjNb5GIdW5x L2NA== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=C6YhhHeccU9Mplya57aCZ0zu3hccKv0+lu/NMMye7aU=; b=A6hhxKkEhEjR3tcOng9Sd/RFXZhXRUHg51TPR9vfIMzqHzfnEGbuVcKxfIBG7HhWLi D4qhB5/IKXsKSCFo0F3OZzgcJqYCsSak5mZUxXp3LPMQVqWz1/9cXZ1ZBC8Q1rFlY+xA 9w5UBQgCoz+eMuj5pw6KO8iyKAUYwzJnM5APz3440KjuasGGxmUpB7du459SlwQ8Z/I1 xpfNN5oSbPzYAPHsWoDd9asExoYLeotDXQ1AP9Q2Zi75AVyN+fMrKsVztUlBUNASDCJ7 kiJOVUB8noERdrugkaCFMDOaVtAdBmv/v0Lgul3Pjc/qur2mWBQrcvLd6w/IHWxMjl/0 7fSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IHoSYerE; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u9si2468235oia.62.2020.03.20.00.35.24; Fri, 20 Mar 2020 00:35:36 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IHoSYerE; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726902AbgCTHeG (ORCPT + 99 others); Fri, 20 Mar 2020 03:34:06 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:38191 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726614AbgCTHeG (ORCPT ); Fri, 20 Mar 2020 03:34:06 -0400 Received: by mail-qt1-f193.google.com with SMTP id z12so4165200qtq.5 for ; Fri, 20 Mar 2020 00:34:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=C6YhhHeccU9Mplya57aCZ0zu3hccKv0+lu/NMMye7aU=; b=IHoSYerE0NjORsoFN1pj3/hfaNeUMVskyOfgKYQRAaXViccuLJe8srypa9vCqRlZbI KcMNY/1b0aCfUJr/GOrzlHiMfleCFaHP/SN3vge+eL+MabyLbP/Uzc+QBOp4+KFKMHea FoTreq8I84DKRrFEjR2ZlouUVTZRWScXYaSVJldXLT4/GT0jkleX/XGZWqdjpzJ5UvBj tNazr1NmE6PCKS6eTwA5Jom0ZZlGriv8AzefaF6meaUqvmY8acf0jYbDFbMauUd86cfB KO0GmqS2mnkTcdq9m5iK9xYUfO/0Y9a9l5lLmvv99/1gzh1ZarrbTI4lGXz4ajRUzJr1 72fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=C6YhhHeccU9Mplya57aCZ0zu3hccKv0+lu/NMMye7aU=; b=bWZBALjeFMyv4B+BbH0lTYcXU34ZZ7Z06IBe7rZmw6t75VCqD+AfrLtkY03P3HqzQp gw0vz0uVvziH4NYjXyLH/kk3WQjGVKNEQihA5k8yk5NLu8eLOZfCVFueEsKQ6jKuR7gy G81y3Coo1uVPs6A4M1yx3+43Gfh+q5k0ypWMpVD+gzmkzUf/bznOdLCFOhqdRjGIppNr DOo03ekEQyOhgXr9y7E0FPeJpy/CRPl0D6EOLHInAamrJsFEuGI9sbH6rdvo0OrBLGXN Y9G26yHuRYMLsaFML+bam0KtHBKJ6k7ifmAgbhFQIfHz+qJsbCifCcZ9/8+H3NGKQVIi YRCA== X-Gm-Message-State: ANhLgQ1xAlaDix4ZeiONW4DrGspLy+kByN+hmBWn3ZxwQysZx1FHPvJJ dF2Uis2kZu7P0+odFc5Ruia0y73d6jBlaeDl1hg= X-Received: by 2002:aed:3346:: with SMTP id u64mr6488332qtd.333.1584689645829; Fri, 20 Mar 2020 00:34:05 -0700 (PDT) MIME-Version: 1.0 References: <1584502378-12609-1-git-send-email-iamjoonsoo.kim@lge.com> <1584502378-12609-2-git-send-email-iamjoonsoo.kim@lge.com> <9a7c94c0-c2b2-d533-316a-4fd42bdf55b1@suse.cz> In-Reply-To: <9a7c94c0-c2b2-d533-316a-4fd42bdf55b1@suse.cz> From: Joonsoo Kim Date: Fri, 20 Mar 2020 16:33:54 +0900 Message-ID: Subject: Re: [PATCH v2 1/2] mm/page_alloc: use ac->high_zoneidx for classzone_idx To: Vlastimil Babka Cc: David Rientjes , Andrew Morton , Linux Memory Management List , LKML , Johannes Weiner , Michal Hocko , Minchan Kim , Mel Gorman , kernel-team@lge.com, Ye Xiaolong , Joonsoo Kim Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2020=EB=85=84 3=EC=9B=94 19=EC=9D=BC (=EB=AA=A9) =EC=98=A4=ED=9B=84 9:21, V= lastimil Babka =EB=8B=98=EC=9D=B4 =EC=9E=91=EC=84=B1: > > On 3/19/20 9:57 AM, Joonsoo Kim wrote: > >> Curious: is this only an issue when vm.numa_zonelist_order is set to N= ode? > > > > Do you mean "/proc/sys/vm/numa_zonelist_order"? It looks like it's gone= now. > > > > Thanks. > > Yes it's gone now, but indeed, AFAIU on older kernels with zone order ins= tead of > node order, this problem wouldn't manifest. Yes. In this case, preferred_zone of an allocation is the populated highest= zone among all nodes so classzone_idx will the same. Thanks.