Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp4496377pxb; Tue, 31 Aug 2021 06:40:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyPf3ApyNvDKkveJz/xKDG5WU2KrUxlu3FIxOMVIhdGpIS9nzeev2vOwNOMlmfyioeeeB5 X-Received: by 2002:a17:906:a0ce:: with SMTP id bh14mr29996798ejb.434.1630417212574; Tue, 31 Aug 2021 06:40:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630417212; cv=none; d=google.com; s=arc-20160816; b=BsAJz4kM9k5oLBwZij2YeDzO5k4joPUQHxW3NkOo6l6/uALfx1Z6PoKKCOfUpCuDgl q5qWBduoMojjonpb/ZjGIuXGb4U8OZA8aY8yeAdzwuQVt2yF/eqUSmrpOCoviXrXgbkv kkxAQqcLjJ5apZyqevvxkJtg4TM4vm9x9JxN68BIx6rrcJr3Wi4c/B+q8DSRvF0enjeI 4k5dKUxlMyv4Lm+hFDQb9uI62hk/cCmz1VeHGyGgElRn4gxnAseAlgyjiaUVfxIhsR+5 npSlYbvWAsVQyvQaGp3AJJVw9LKhbYA6C9xJFVOzYZmuQzkDt3ClVWCxE+6gt/Gk8+Um jsqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=i3hHnAMm/dWdJc+JIr48d6Vfd7gLXOkwhKUUzek0MME=; b=IAhr2F0ouNl2YwlHTBJTZH0QMT8748VPvq3xei1jY3dmRCFdgvlWLQB834A31ClI7D 4m0lnyaZ+Llofz6dlGF7lnO0MkOtja9Wul+A30xE+uG/r0bUH4FbiowFKxF8bCKwdTCo +MOaSvVCbe7JWDBlaskKecNHRD057P/ZuKLnvf9UaeEXF63PLHqLxKZNYj2nMVkYpWZy ycVvw/PlNKtRClvWO3uw2Lvq1KFC/jWf8WaCWT245tdTbp6mp07NTgNAVIpSOmV4TVO8 hBa7Gr8XXPXzBLRI874XT71ELHufZGGYZXKEtMEJnTcMpYmBte4hf7HFwy812IZSz2pP gr1A== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h15si1396252ede.550.2021.08.31.06.39.34; Tue, 31 Aug 2021 06:40:12 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237809AbhHaNg7 (ORCPT + 99 others); Tue, 31 Aug 2021 09:36:59 -0400 Received: from outbound-smtp50.blacknight.com ([46.22.136.234]:40503 "EHLO outbound-smtp50.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237198AbhHaNg4 (ORCPT ); Tue, 31 Aug 2021 09:36:56 -0400 Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp50.blacknight.com (Postfix) with ESMTPS id 352BCFA9A9 for ; Tue, 31 Aug 2021 14:36:00 +0100 (IST) Received: (qmail 1053 invoked from network); 31 Aug 2021 13:35:59 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.17.29]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 31 Aug 2021 13:35:59 -0000 Date: Tue, 31 Aug 2021 14:35:58 +0100 From: Mel Gorman To: Miaohe Lin Cc: akpm@linux-foundation.org, vbabka@suse.cz, sfr@canb.auug.org.au, peterz@infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/6] mm/page_alloc.c: simplify the code by using macro K() Message-ID: <20210831133558.GD4128@techsingularity.net> References: <20210830141051.64090-1-linmiaohe@huawei.com> <20210830141051.64090-3-linmiaohe@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20210830141051.64090-3-linmiaohe@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 30, 2021 at 10:10:47PM +0800, Miaohe Lin wrote: > Use helper macro K() to convert the pages to the corresponding size. > Minor readability improvement. > > Signed-off-by: Miaohe Lin Acked-by: Mel Gorman -- Mel Gorman SUSE Labs