Message ID | 20230728171037.2219226-7-shikemeng@huaweicloud.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 7647FC001E0 for <linux-mm@archiver.kernel.org>; Fri, 28 Jul 2023 09:10:27 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 39F3A6B007B; Fri, 28 Jul 2023 05:10:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 32C688D0005; Fri, 28 Jul 2023 05:10:26 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 13C236B0078; Fri, 28 Jul 2023 05:10:26 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id DCB346B0078 for <linux-mm@kvack.org>; Fri, 28 Jul 2023 05:10:25 -0400 (EDT) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id A57BEB1EFB for <linux-mm@kvack.org>; Fri, 28 Jul 2023 09:10:25 +0000 (UTC) X-FDA: 81060449610.28.B5FE47F Received: from dggsgout11.his.huawei.com (unknown [45.249.212.51]) by imf04.hostedemail.com (Postfix) with ESMTP id 650BA40016 for <linux-mm@kvack.org>; Fri, 28 Jul 2023 09:10:21 +0000 (UTC) Authentication-Results: imf04.hostedemail.com; dkim=none; spf=none (imf04.hostedemail.com: domain of shikemeng@huaweicloud.com has no SPF policy when checking 45.249.212.51) smtp.mailfrom=shikemeng@huaweicloud.com; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1690535423; 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-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yNLpwsojZtnUrJ8c6VmeMk/OKHNgg+Pd1halO2UWgAc=; b=Xalt090PTgMibOoyOnid5E3XA2k4VRAYkVaGmVMZMbWnrx1HoRQb8lFI4xSILCdgr8mRAM A/pqcGDci79m7kKOANcifNBY0EVHgnvEDSp8McW3FliHt7xV50G47Cp5Il/zjFGWycHLex DPETvoyXN6So8d5GoZG1S5a9zoQUNz8= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1690535423; a=rsa-sha256; cv=none; b=8JXXA6sFQcSCLAHTcMLd/axd3xaQ0Xxw5Ojy1c9br02eBDqhZHNF9gnvWiSI7wtDiScTrK oIrBFzw3smm+LvdPHT1M1SaCzFchXxw+pF++AxBhwDNYCj948Bs2Ovk0cwhJkeZ8shcF4T zBJrclKjAbRZvDOWGF4oEMVANikO5C4= ARC-Authentication-Results: i=1; imf04.hostedemail.com; dkim=none; spf=none (imf04.hostedemail.com: domain of shikemeng@huaweicloud.com has no SPF policy when checking 45.249.212.51) smtp.mailfrom=shikemeng@huaweicloud.com; dmarc=none Received: from mail02.huawei.com (unknown [172.30.67.143]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4RC20T48jhz4f3pC9 for <linux-mm@kvack.org>; Fri, 28 Jul 2023 17:10:17 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.124.27]) by APP4 (Coremail) with SMTP id gCh0CgA3n7L1hcNkCrD+Ow--.32454S8; Fri, 28 Jul 2023 17:10:18 +0800 (CST) From: Kemeng Shi <shikemeng@huaweicloud.com> To: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, baolin.wang@linux.alibaba.com, mgorman@techsingularity.net, willy@infradead.org, david@redhat.com Cc: shikemeng@huaweicloud.com Subject: [PATCH 6/8] mm/compaction: correct comment to complete migration failure Date: Sat, 29 Jul 2023 01:10:35 +0800 Message-Id: <20230728171037.2219226-7-shikemeng@huaweicloud.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20230728171037.2219226-1-shikemeng@huaweicloud.com> References: <20230728171037.2219226-1-shikemeng@huaweicloud.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: gCh0CgA3n7L1hcNkCrD+Ow--.32454S8 X-Coremail-Antispam: 1UD129KBjvdXoWrZF1UKrW8Kr48JrWrWrW3Wrg_yoWfWFX_Zr 4Iywn5Kw1F9r93AanrCa9Iyryagr48Ar1UWw1UGrW8t34vyF4aq3ZrAr47Zr95XFWvg3sx u34vvr1j93ZakjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbDAFF20E14v26rWj6s0DM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M280x2IEY4vEnII2IxkI6r1a6r45M28IrcIa0xkI8V A2jI8067AKxVWUAVCq3wA2048vs2IY020Ec7CjxVAFwI0_Xr0E3s1l8cAvFVAK0II2c7xJ M28CjxkF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW7JVWDJwA2z4x0Y4vE2I x0cI8IcVCY1x0267AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVAFwI0_GcCE3s1l84ACjcxK 6I8E87Iv6xkF7I0E14v26rxl6s0DM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4 xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r106r15McIj6I8E87Iv67AKxVWUJVW8 JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41lF7I21c0EjII2zVCS5cI20V AGYxC7MxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAF wI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUtVW8ZwCIc4 0Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1I6r4UMIIF0xvE2Ix0cI8IcVCY1x0267AK xVWxJVW8Jr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r 4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x0pRKFAPU UUUU= X-CM-SenderInfo: 5vklyvpphqwq5kxd4v5lfo033gof0z/ X-CFilter-Loop: Reflected X-Rspamd-Queue-Id: 650BA40016 X-Rspam-User: X-Stat-Signature: hapmnm4q7en8fweo9d89m5jf8pc1ogzf X-Rspamd-Server: rspam03 X-HE-Tag: 1690535421-393757 X-HE-Meta: U2FsdGVkX19G4ndzD5pZaRlit+FKaWzutrXv7eLBnipm82foZO3sVT+lUorD72wUYZ4VFBk3hUbQ7QJt6+MrMCrJ0j30JnUq+suuK+NJS/HLrYMtxHFZUV9ISGGXq9rb/m3b5OmZtqMFq6Rjo6nUv2UhrREMoJ52AQ/j2XDMDui40ySEbDwmDYtVRVmGOHCb3oBbEknknCVtLhq763zUmMiK90f6iTW1Pb4frIWCWG3H1l8CKncg4Th9NCyfF2cYRHONMWHMfNKTQy5CfQkwZmzIOrOmSarA0mRSlPzPECtYy9yxaAap+UgaTCXmFLMGKNtuNOlFhLcCUq+MbXvr1emiKrDcsDMVWrnQQtewxdgWlpgzPLruJ/zVtHl0f5259p6z3v/MUAjNpxbqbA5+7mccIBrJMkmRp+xzjXGL5mZhodq4zoCi+oCbFeQigE88a6nEFdZzWruemyd7Q8NEvUow3RVyipmOFaCPWFG0AZEMEOdTGjVGdMjzPLhIepDJguV0Lfvq7DinxVvPTa7f1mkLoOMfgrEsC0InLVpDc4J+k6HXpwx+qHCA6gM0D+3lnEY35a0lPMGvmyFnf+Db9nJB1Yh4VXXhfPDj6cRfg6hiH96Iw/EF23akhCooLUbC74vZE3agcGv5p585WMYHflIQlZUvHiGzLhSNg4+/RFzMdqEX3hABaLfiYfeYdnt5a5H5WGlxfc3r117tvc4UYT47flV+jKW5WZ/K6lNNfuuy4rqaAnvwHJVlFZU0TrSwcRLznAQO6GtIHIv7bWcr8kpe2C1UMwodK29OfgqIOudTKtZ5KR+JHZWNzc95bShIIrBQzkjZ77XxWxXJfgcnTfpypaypIJtK6njayjt68djbRKNJ6v4tyeVyfM3078Z8LWiIu90OP1ADVd65y3Bb62LH2sdrdQMN1dvYrsJCs0Vfx4wGovq18JCaNpCtld36LXleXKEhNH+tv7pcxgS agf2Kqh4 M1Zut7GcYSSmTVH/snTQLPTDaLb1u1qi+aycuVGNFeraB6h/yPj5A2VKnZLEMgFxU3FqP9w0J3crsZ6dnPextX110l1B33y7pLPqnn2+Ij09YKs8U/YSpLlZyD6FZokoBz0b+SqHWCXZiP3VCJpVwB/Vp2aK317rv//8G+PT6Zi9rY3nt/h4yrdIZCwKipOC6Qs5UIPT7O1JWEkFpwzblSMsY7EkxTZWr7WN7gBK9+cRHTzHRyTit31GCKiijFtMyCMxiiYCqRWydPSbgf+rbeYG1nZCwwwGSasS0 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: <linux-mm.kvack.org> |
Series |
Fixes and cleanups to compaction
|
expand
|
diff --git a/mm/compaction.c b/mm/compaction.c index 1eebb61a1f63..6052cb519de1 100644 --- a/mm/compaction.c +++ b/mm/compaction.c @@ -2497,7 +2497,7 @@ compact_zone(struct compact_control *cc, struct capture_control *capc) } /* * If an ASYNC or SYNC_LIGHT fails to migrate a page - * within the current order-aligned block and + * within the pageblock_order-aligned block and * fast_find_migrateblock may be used then scan the * remainder of the pageblock. This will mark the * pageblock "skip" to avoid rescanning in the near
Commit cfccd2e63e7e0 ("mm, compaction: finish pageblocks on complete migration failure") convert cc->order aligned check to page block order aligned check. Correct comment relevant with it. Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> --- mm/compaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)