Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10542056rwp; Fri, 21 Jul 2023 00:24:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlGtiZCxLY7jch8azYtklcGPOBpdD64kFh0/xvRq45MW1rHblXU8KJNRY4HfdA+IDpkaFZt5 X-Received: by 2002:a05:6a00:cc2:b0:678:11d6:2ad6 with SMTP id b2-20020a056a000cc200b0067811d62ad6mr12822878pfv.9.1689924246422; Fri, 21 Jul 2023 00:24:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689924246; cv=none; d=google.com; s=arc-20160816; b=dDCqxYZ+y2dhXQYUba7IoVfkjmflCkGXbQsViBZWZJrnUoTj5d9R3I9SFQNMtAKEya UCoSx+OsayiG+wkaApxFRGlbt+gnPMIDB/j6BR4MVhEYyvMKNRtMGw1uSUQoGnAW9T+s mkm2evtElup6So67Mtj4+1FQNv0cWAkHBhifPxNxwQGmovkJNGVm+Qvjsr/tTuEb7+tk YL7TwHYe6TFRBdPdN8sycrS2E0xWk09wKS/Vg8la9RLdfBlo9/yKaInvM4zhkDKDbwaL j6L8GvEsq984k4KWA/mGQRjOpRlzg/hzf2eU9T2lTYhbe7bcWDfFEq6kI30ClljkqeeP udDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=tIjf1rfVi59NBOuido7NA1GXUQBGhDU9Cgt1FmPeaUo=; fh=etoAlGBf+SpQVMMXCJMV93r+UgAwMbRgi3zaVOqfdoA=; b=rKvLXh0PfBunb9Dpi/+xhph0N/XL2P8qJI2T8qmwSPiPdkSM4gZEbyDkCXbF35hHFx v9zqanV/9Ek7aqsqW/Y87i+GVlU9ay/ngzEBsU6YOX4jaXn55RdjREThxFWfnS/a32uW bEyUske0jyck91sWjBHzsIqAbRMpYzgdVImXexDt9dwO7b8adW7sN50Ogbq117H0xl6e BvDHzWYnu3niITAMhKY6BB6FDDkz+3ltlAVypeNc674evham3JTmvCHljSL0OxqCXNNo 1QcikbmDgPHDLOjgGh+Y1PfEknNkevmnfYcL8+xmw9bLhsSXQ/EiR/8YcaktkMNUqS8n SejQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ay20-20020a056a00301400b006862e25ca93si2522646pfb.230.2023.07.21.00.23.53; Fri, 21 Jul 2023 00:24:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229692AbjGUHJc (ORCPT + 99 others); Fri, 21 Jul 2023 03:09:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbjGUHJa (ORCPT ); Fri, 21 Jul 2023 03:09:30 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD2BB2715 for ; Fri, 21 Jul 2023 00:09:28 -0700 (PDT) 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 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII 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-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_00,DATE_IN_FUTURE_06_12, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.30.0