Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp899222ybz; Fri, 17 Apr 2020 12:03:31 -0700 (PDT) X-Google-Smtp-Source: APiQypJfz18shPDwVcw9JXNYODty2eCuUuHJ2Lr3Kjmzjz0Kd5Oq7HVBH6UBBAqW0eZWmhZDGQt0 X-Received: by 2002:a17:906:3047:: with SMTP id d7mr4575350ejd.141.1587150211363; Fri, 17 Apr 2020 12:03:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587150211; cv=none; d=google.com; s=arc-20160816; b=IPYyNTgRf3B8sX53TDtu+SR+8xf9/Y8W3ndnz9YnqvvvG5V4O60XaEU3sicGrx5QXj F7/kxSA5Iu9S9zQ71OxPU3GCA4x/cYyCqXECGicMbBD1m/odd09lAK1u5aLgyl6WjLy5 W6pUsIst+QOZvRlvRMuy7JhrPcXd2OmwUSB+lOEH93snlXduN0ppuUOF7+nfN2z3IbHe BHyHrAtIejI9/Cu5CP5Hw1Z21zQ64HWPDlfreN6uKElvo1WZqYqO569fsR3Se+wGwP2l m0cAPq2LGIWkZSjchH3a9YWbvHsvS8TZHUQLc6KgDZTH+F9c7rupgrZhjvEbpgYLJ90R B/tg== 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:dkim-signature; bh=fgsuV0uPrbMuuU+FIoyTnHiSv5/v5k3Bt0qEvULb1Fg=; b=hDBemmv6MOKIsMvx6EMuJwTEEM7AHLC7JzyF0QXrY9X+1bBzFOnEGTaB21jfcB6q40 YZj+NVv5G9MQwY2RgOtRbCu5ZiX8YTmaasXY7bkuyCI4M9pDSMWBoGwDXbCKO50LhuKq k/HO/Up4phezoO102BNvSyWIfv2KPGwjJYKYqTJfmkGebBnLhgeVpZawLOqHFoPtFoh4 M7oi6y7KebWW5H5ag4TivyDFd4CYMXd8YXtOyeB84Fpz4zNtZ8nD5W8FeB/67EpSumiE BtzPGM98TQ+8T0jWOG5bBfqDAjeAPV80biLCR+ycFh4StrcRtNtadQ2Nq3COsSh4I4uC mNdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=gcg6gDxY; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r15si14584464edx.362.2020.04.17.12.03.07; Fri, 17 Apr 2020 12:03:31 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=gcg6gDxY; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727845AbgDQTBp (ORCPT + 99 others); Fri, 17 Apr 2020 15:01:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726050AbgDQTBo (ORCPT ); Fri, 17 Apr 2020 15:01:44 -0400 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C540C061A0C for ; Fri, 17 Apr 2020 12:01:44 -0700 (PDT) Received: by mail-pl1-x644.google.com with SMTP id ay1so1307528plb.0 for ; Fri, 17 Apr 2020 12:01:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=fgsuV0uPrbMuuU+FIoyTnHiSv5/v5k3Bt0qEvULb1Fg=; b=gcg6gDxYLiUWROEJVYRTQhxHQJFHIqUhJKq3AHDhVB+rfx5orCalbTMhl1Ob/rH8H7 +FWAvyrdG7fktuE6BHhgbcmVBpkw6c3k7yrAPa2k8Q+GHaABH7VJ7qOzfRkK+oNVqb6Y t8cqcCrWqVesbxIxSFU2VXPqzZxQS+HF0EsNCvFjDgr0pjq/KIDgujCenCR/eIb/n9mt 4HSTXCw7/xgTb75TTIRVlFC1fMwZMW0PV0c3o8Cilcso/dY64zSeRvltPIIb37qjfIEC IhQmvip3RUD2kTk6ow8qWAMUqqBKuw2oVE0I5o0vLJyZEkiUMQ5MiUqUdxTleXhiiuO3 MBpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=fgsuV0uPrbMuuU+FIoyTnHiSv5/v5k3Bt0qEvULb1Fg=; b=cbZ4NztX2UtWyr/sddG654b+5roQInOD6T885s85GXUJ5PumJEvMJfXDz/Ac1BAPUJ p3A8yfQnE/VfjJfd6FPjiKYHxJMInMN/fEoaUR2xSaG/v8cOO/o/FpiEwEIspTgdG8ds nxVE9J4ZfdtwCU+z/Uk4fM1wj3V7moZsOfWT/fs3LQHWdzM2ZMtzcxm8NXl0/SFQJrEY 7+ysi5V2kk35yeCRmX8U/OIbGn9UEAHOUh84RpXnEadP6ErpRNgfO10nU7nlQmPF13zS wc1YnBwytwATYlEcQcHxiRCLOtxG27EeMwAP3x/wwx9/+gVTgADHXdaJL8RAhLnbj+5r eUxg== X-Gm-Message-State: AGi0Pub+yJfX8Un6vebp/HYI2Fhze41iMvXUOtDjZ71iI7WDiimOYKjh D+pCbYFVv6do1PEzs+ck3HBuGA== X-Received: by 2002:a17:90b:1989:: with SMTP id mv9mr5900830pjb.70.1587150103744; Fri, 17 Apr 2020 12:01:43 -0700 (PDT) Received: from [2620:15c:17:3:3a5:23a7:5e32:4598] ([2620:15c:17:3:3a5:23a7:5e32:4598]) by smtp.gmail.com with ESMTPSA id n24sm7296697pgh.85.2020.04.17.12.01.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Apr 2020 12:01:42 -0700 (PDT) Date: Fri, 17 Apr 2020 12:01:42 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com 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 , Baoquan He , Joonsoo Kim Subject: Re: [PATCH v5 2/2] mm/page_alloc: integrate classzone_idx and high_zoneidx In-Reply-To: <1587095923-7515-3-git-send-email-iamjoonsoo.kim@lge.com> Message-ID: References: <1587095923-7515-1-git-send-email-iamjoonsoo.kim@lge.com> <1587095923-7515-3-git-send-email-iamjoonsoo.kim@lge.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 Fri, 17 Apr 2020, 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. > > Reviewed-by: Baoquan He > Acked-by: Vlastimil Babka > Signed-off-by: Joonsoo Kim Acked-by: David Rientjes