Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3416599ybb; Mon, 23 Mar 2020 00:10:40 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtSJ7Eix2f5v9bLl6GOfGiLfuD967UByuIUOdIgarDUzJvyhUQ0nKak8goRnlGj1XEK074s X-Received: by 2002:a05:6830:8d:: with SMTP id a13mr10029854oto.321.1584947440802; Mon, 23 Mar 2020 00:10:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584947440; cv=none; d=google.com; s=arc-20160816; b=0xHFwx0GnKbefvrOVYz848OaNJO1LW+gRPhm8xJgMbctcP9fWnr/5tOFUZDIW/E834 QSx75aE3dIES+sLkzJFjPXh3OSrakQaq56cgJxtfxuYquTwYXq2+1iRKYWdvot/sXims 9zeHhaMBzuAAKWNq7cNJO+UKQgyB3S/h9Qjl7yyOKSsbloB35TDvFVjVBEeOvoPPU8tL eyUSQhBPjWwO4ARl6V+3PlXJbGVI9tW5m25uECBvjCSmgLdyiUy2yF4Hq+P3FjTgxdIJ q1bDLCUGOua/ElYOKMaeuRK/2Zb64LBgr5C+Ovrt9BrtSTdxkWa5mBZBPJQ/Gjqud4yC cNHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0KelROyYCjluM3/vlH+wAUHU21yGj/l+XL1RLQ+Rw5s=; b=LS7s45+o8FJQSpIBmGAKna9QxCxNWdVChHNjiIe4UI2V3J5Oz1StF1/QEn1X+63Jyx 9J3ZoWWbWAdtiiLhxTTdhiIckffifkUMzGPnXbZvZS08dIHZEYV7uR9ug7XkwUuLT+TQ h5Fi1KmlwJAAibY5EvsSnmU6j7Dnv+xUeCj8zFz6UOud2NRYwe/xV6C+ks+1mluLgmqn uIFsbMm+C2QWwg/B4VKvdpc07Ko5H+xcyrvLt3IJUWXEERACOnJ7e8tuDeq74cON/cH1 lISx4/x2EIln2KioECgySBhGULH4yaLNNHAuSGDipiRi3P+ri9ZPWpeQ5FZhh3BPONHZ zEow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SzOFl+eu; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t5si1195138otl.193.2020.03.23.00.10.28; Mon, 23 Mar 2020 00:10:40 -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=@redhat.com header.s=mimecast20190719 header.b=SzOFl+eu; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727413AbgCWHKB (ORCPT + 99 others); Mon, 23 Mar 2020 03:10:01 -0400 Received: from us-smtp-delivery-74.mimecast.com ([216.205.24.74]:27186 "EHLO us-smtp-delivery-74.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727164AbgCWHKB (ORCPT ); Mon, 23 Mar 2020 03:10:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1584947400; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0KelROyYCjluM3/vlH+wAUHU21yGj/l+XL1RLQ+Rw5s=; b=SzOFl+eucQMQdlqnoqn0gneiQvIw0SL8tiWI9+9vUMDaDGyXHT5vp+qdD3zzKwypyxCc9H eDTkmZyUlb7Sz9MEnqlrVgRCxteVENoA5v+Iy7zFA8Q39afVKnzD8CcMboL3raBk9syt04 mzJfbyrTRB3peSwpRVzSG0URY2lAqAQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-309-71Ubue3VNFaQw_p3ZvZ1Mg-1; Mon, 23 Mar 2020 03:09:58 -0400 X-MC-Unique: 71Ubue3VNFaQw_p3ZvZ1Mg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2945A800D5B; Mon, 23 Mar 2020 07:09:56 +0000 (UTC) Received: from localhost (ovpn-13-26.pek2.redhat.com [10.72.13.26]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1FF0D94978; Mon, 23 Mar 2020 07:09:54 +0000 (UTC) Date: Mon, 23 Mar 2020 15:09:52 +0800 From: Baoquan He To: js1304@gmail.com Cc: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Johannes Weiner , Michal Hocko , Minchan Kim , Vlastimil Babka , Mel Gorman , kernel-team@lge.com, Ye Xiaolong , David Rientjes , Joonsoo Kim Subject: Re: [PATCH v4 2/2] mm/page_alloc: integrate classzone_idx and high_zoneidx Message-ID: <20200323070952.GF3039@MiWiFi-R3L-srv> References: <1584938972-7430-1-git-send-email-iamjoonsoo.kim@lge.com> <1584938972-7430-3-git-send-email-iamjoonsoo.kim@lge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1584938972-7430-3-git-send-email-iamjoonsoo.kim@lge.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/23/20 at 01:49pm, js1304@gmail.com wrote: > From: Joonsoo Kim > > classzone_idx is just different name for high_zoneidx now. > So, integrate them and add some comment to struct alloc_context > in order to reduce future confusion about the meaning of this variable. > > The accessor, ac_classzone_idx() is also removed since it isn't needed > after integration. > > In addition to integration, this patch also renames high_zoneidx > to highest_zoneidx since it represents more precise meaning. > > Signed-off-by: Joonsoo Kim The patch looks good, and did the basic test after applying this patch series. FWIW: Reviewed-by: Baoquan He