From patchwork Fri Jul 21 15:09:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kemeng Shi X-Patchwork-Id: 13321440 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6A85C001DC for ; Fri, 21 Jul 2023 07:09:35 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id EED2B28019F; Fri, 21 Jul 2023 03:09:34 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E7616280190; Fri, 21 Jul 2023 03:09:34 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D3E3928019F; Fri, 21 Jul 2023 03:09:34 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id C3833280190 for ; Fri, 21 Jul 2023 03:09:34 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 9ABFD1C886C for ; Fri, 21 Jul 2023 07:09:34 +0000 (UTC) X-FDA: 81034743468.01.D69FA9C Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by imf05.hostedemail.com (Postfix) with ESMTP id BB762100005 for ; Fri, 21 Jul 2023 07:09:31 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf05.hostedemail.com: domain of shikemeng@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=shikemeng@huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1689923372; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=tIjf1rfVi59NBOuido7NA1GXUQBGhDU9Cgt1FmPeaUo=; b=iX1B9LMHWNfsjD+2lREiV15ysuvmdr16XR1fB0VCfO0OiKzFEyLU2VtaI0jZL1F3kuDY/W +4Gv4VnVhB5HHBNW+xYE2zSoeSlgdARP4ikjVm5aj0Qelp1dtyi2DGx6FlkXud4dMazyjC 0Z+ttW/xxxcOJX5v12PXAsFnjQDElU4= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf05.hostedemail.com: domain of shikemeng@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=shikemeng@huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1689923372; a=rsa-sha256; cv=none; b=CbV11I79x9PSuJfS0uo6oglRBw6q8f9UEqDCCJIWshbF0xr0v1UH5fzUJE+DADI6B/af2v +hgmrlrW/TCir2Px6JdfAe0t12dsQuG5+JgR9HvPBUNwVk2GGoIpWYShC2gQpDYWe6gY6g 69LudIp6Fa95y5glvUEH5bxEwCSH57w= Received: from kwepemi500016.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4R6gdL61pwzrRqj; Fri, 21 Jul 2023 15:08:38 +0800 (CST) Received: from huawei.com (10.175.101.6) by kwepemi500016.china.huawei.com (7.221.188.220) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 21 Jul 2023 15:09:25 +0800 From: Kemeng Shi To: , , , CC: Subject: [PATCH v2 0/2] Two minor cleanups for compaction Date: Fri, 21 Jul 2023 23:09:55 +0800 Message-ID: <20230721150957.2058634-1-shikemeng@huawei.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-Originating-IP: [10.175.101.6] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemi500016.china.huawei.com (7.221.188.220) X-CFilter-Loop: Reflected X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: BB762100005 X-Stat-Signature: h6mopdud9ismsrzkyjh5grq9wzaagbkp X-Rspam-User: X-HE-Tag: 1689923371-511802 X-HE-Meta: U2FsdGVkX1+UhsCI7ql6WxoC+OLOxxKP+EdM6NXGfbV4hb6wgWztragj5nvS9ds8HaY9+BE7ciAzlF+QcNAoo2uR/+9f6zg1ygFtt+MWnk9bTrwcmuQiEtaStM0ykW6hG0/LtZh9A6+aLPvmyGij5xPXwNKocIJkOk/qU0dhk1qPCFiqVJn8w4XXpzs7sXDm0njocer4uAeuvWsJmMf4SUk9KaXA82XTTmgZTrYGBhylZhGoqdmgBLy4BaCoalWglILE/HkDEvJfIANgTcSC1Opu9d8fsQsI5TbPhp9VnltXaWRoVRUoIho5+4ISef0rGacYVHpYdiLnrYUlV88AhI+t0v+ieHfwilA8w5S+q7j4A6QuqQ7IhbJOaZZrTR7rRKwf6BOaovRsBOtr+aaUco5BIA6Q86ZzRSZ4O0eS3huEUHofP8vxsXiS+GXEtVkaU004J0bev+HygNQp+mw3vOMtk0/2TAtyKVTNFWjTFpiObb61fuCyMY5XAKEI2qThWQFLmWnZRrM7TzHBTKfvxh7AJrUko1iH8IyGMbiWJlSRZIFPu69i/K9yJEDa4qsGYf//hG8ie/6/dAA2s2q2ucG045iOlOnSQqR2nfYodKliPw/ipkRPNRlLmIhU5Sf3n9+fE+OvQr9e8QfJhyTjDG3nXvy2rOHdkDwdJHcvGh4LOg9SJUr6lRISBScnBnAUmfgwnEn9ElH5cNnCOU+B6Fb2FDu5JhTGcar1VW+u8m0MBvTAAbK+efOmwPQtjjMxZoE+IwFCpy4PR/TpXEpY68/jVZqLW+DCv2hMc5ZuVm721w2XfwH9pfuJGfvXQf2w9Hyca9p2N/8IFh4knnmDqCUIzMOyNJmzWzKVRCDCMdr1Ffzj/4xzAf/j46nI2bDSIUl+Nrviu9esIijxlc+NQUxS8XTk0bDjatPwhAUIWSdWYCY2/HoRH3hyqGtZgxnPtwWRciZQF3ywdqw5e2N RUIaBVRb dq3St4EbfPg7g9aawtF9R/tfdYnmNa/tnDfGnRaJszy0utisfdoOcEtnCt0KyT/MdVhfGDPSsr9/B24xcEWFQhURkcYCY+Nl8xd4umaKRCF5L7NJmJWVccUiPYR71STiXpIjGMdvsDc9tM1gdPWRk09dr1Y23AMz4R9Lcne0m6uPzQSDAqSzqccMzAw== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: v1->v2: collect reviewed-by from Baolin to patch 2. This series contains two random cleanups for compaction. Patch 1 correct wrong comment in fast_isolate_freepages. Patch 2 avoid to call unneeded pageblock_end_pfn when no_set_skip_hint is set. Thanks! Kemeng Shi (2): mm/compaction: correct comment of candidate pfn in fast_isolate_freepages mm/compaction: avoid unneeded pageblock_end_pfn when no_set_skip_hint is set mm/compaction.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Reviewed-by: Baolin Wang