Message ID | 20230804110454.2935878-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 AF6A6EB64DD for <linux-mm@archiver.kernel.org>; Fri, 4 Aug 2023 03:04:53 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CB2C12802BF; Thu, 3 Aug 2023 23:04:49 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C3CBD2802BC; Thu, 3 Aug 2023 23:04:49 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9FF3C2802C0; Thu, 3 Aug 2023 23:04:49 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 77D822802BC for <linux-mm@kvack.org>; Thu, 3 Aug 2023 23:04:49 -0400 (EDT) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 44DC61CA376 for <linux-mm@kvack.org>; Fri, 4 Aug 2023 03:04:49 +0000 (UTC) X-FDA: 81084929898.10.3A45EA8 Received: from dggsgout12.his.huawei.com (unknown [45.249.212.56]) by imf02.hostedemail.com (Postfix) with ESMTP id E1CB180003 for <linux-mm@kvack.org>; Fri, 4 Aug 2023 03:04:46 +0000 (UTC) Authentication-Results: imf02.hostedemail.com; dkim=none; spf=none (imf02.hostedemail.com: domain of shikemeng@huaweicloud.com has no SPF policy when checking 45.249.212.56) smtp.mailfrom=shikemeng@huaweicloud.com; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1691118287; a=rsa-sha256; cv=none; b=RL5n6IALgIou4JOAbu9ZcJSH/fBJ4Yh8Rd7cShzL0YC49GyfiFu9R6+D73PHOexz5ZURKh 3RA7fMZDy845i9DjyxCAz9RiZLNF6GBUD5EPbSDxTRvquwHTiTAu3wvsI20NyvErIZgoaV amc9OlUtX1sK74srn6tzUg6isuYygEU= ARC-Authentication-Results: i=1; imf02.hostedemail.com; dkim=none; spf=none (imf02.hostedemail.com: domain of shikemeng@huaweicloud.com has no SPF policy when checking 45.249.212.56) 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=1691118287; 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=TP0PXkWhA2kC5VwJy+lV+yNw6x5AWE2lMhaVFZ5sY+8=; b=EIoLPfg0rY4FRf5pY1QwQWV0q8vl/lDgGNNFa64wGmP95Pt4Ond48ibhuc/KF6qaDz5Uoi 8qXhxeTsxkeapoOMUVp22pMcviVGY8J0K9DJGFbPxL2Tf02zatGv3ViSwAzqCahXSBTT11 usT9YVYqHFrFUnbWcrKb8hTgDSxa8Pw= Received: from mail02.huawei.com (unknown [172.30.67.153]) by dggsgout12.his.huawei.com (SkyGuard) with ESMTP id 4RH9YL6vClz4f3q2Q for <linux-mm@kvack.org>; Fri, 4 Aug 2023 11:04:38 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.124.27]) by APP1 (Coremail) with SMTP id cCh0CgAXODLGasxkWSvZOg--.12542S8; Fri, 04 Aug 2023 11:04:41 +0800 (CST) From: Kemeng Shi <shikemeng@huaweicloud.com> To: linux-mm@kvack.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, baolin.wang@linux.alibaba.com, mgorman@techsingularity.net, david@redhat.com Cc: shikemeng@huaweicloud.com Subject: [PATCH v3 6/8] mm/compaction: correct comment to complete migration failure Date: Fri, 4 Aug 2023 19:04:52 +0800 Message-Id: <20230804110454.2935878-7-shikemeng@huaweicloud.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20230804110454.2935878-1-shikemeng@huaweicloud.com> References: <20230804110454.2935878-1-shikemeng@huaweicloud.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: cCh0CgAXODLGasxkWSvZOg--.12542S8 X-Coremail-Antispam: 1UD129KBjvdXoWrZF1UKrW8Kr48JrWrWrW3Wrg_yoWfWFX_Zr 4Iyws5Ww1F9r9ayanxuayayryagr48Ar17Ww1UG3y8t34vyF43Xa1DZr47Xr9YqFWDW3sx Cw1vvr1Yk3ZakjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbDkFF20E14v26rWj6s0DM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M280x2IEY4vEnII2IxkI6r1a6r45M28IrcIa0xkI8V A2jI8067AKxVWUAVCq3wA2048vs2IY020Ec7CjxVAFwI0_Xr0E3s1l8cAvFVAK0II2c7xJ M28CjxkF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVWDJVCq3wA2z4x0Y4vE2I x0cI8IcVCY1x0267AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVAFwI0_GcCE3s1l84ACjcxK 6I8E87Iv6xkF7I0E14v26rxl6s0DM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4 xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8 JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41lF7I21c0EjII2zVCS5cI20V AGYxC7MxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAF wI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUAVWUtwCIc4 0Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1I6r4UMIIF0xvE2Ix0cI8IcVCY1x0267AK xVW8JVWxJwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr 1lIxAIcVC2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7sRiVbyDUU UUU== X-CM-SenderInfo: 5vklyvpphqwq5kxd4v5lfo033gof0z/ X-CFilter-Loop: Reflected X-Rspam-User: X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: E1CB180003 X-Stat-Signature: ukw4t175ksy7w1zhqeqwxxwudsk8oimn X-HE-Tag: 1691118286-239140 X-HE-Meta: U2FsdGVkX18JX0wMwnSGBfEA13wB20IxY5yPYUpJpka9Tk2yw3jqRKHHVgrrNPTJnZ7jr7Yx+ztHpjbsaTkkgMdNUNrY31fK6taQK2BQqcaoSIEnWcr33yCSZv2QqLK56KnKE8DvSdkD6jvAABzKeXBlguGl/lMedHGEvqx7VpQYTs0XRBpbWOZxEJJre7RilbFz8tDrKZ2Rv8JnWCbq2PIb2pjKwl5MJVxwkHNnMjpQ58sHBdxjB49BtH6ZAEOW/Q4PWoONardkUEe5dqSfMcAFBgPbawVodwGc4z3iqgOV4xaWoP2Jla0Z30m85bRvAd8rBNtF/q1hT76Gol6ed2G5VLfK7dDyGPKvf8MVJ/jWAe2e46lXWPS7sBLqmDD+W1BVmrVWsMRYx9GHPsfz03zbwaZEfNXZ5+fw74MR+ccm7Z1XuTBRDBPvU+i3xgHbehSxaHSy9eHx1PFhg2+1Qp/r/cuWPfySHZOdQyl5fl/t65VQGBMULGbL21MOlzZ85o3WwI5ASYIIw7tuKkSPxp34pcB6cyDl5VmZ4H1jN8/t51Xybju3ij8Zx69iW12E++y9HEa4fGDfKsYSi/gF0CZaCmtN1pfK2SDFhGmyq40LDcn/bqjkLP+URuLJ2ddeCAg+7Vk+87KEjcgfmVOOLpgWIQvFM50YdRDqPIOkxXcgKi6OmETvHXIedZbhxgmiusZ5y9Z+5ec5meNgBhBej5qsz8aBjePzSU5hYv7ehtIpSu9Za/MX3GSh+r3udzljBejtKR6yM3P6P4/KRlfzsZHjoajvguCUdkyaXIJYX09O23znx/FL8gI+RpF/0VZ+QtbCYgWFFvsZMl0O9efrLr9xFCWGFuG7LL3AdqVI4naqxTgZxhVSsf/sQmpzgZ5VnkzX/65VVxDDXb+lvbxkIRoYbrW7sNWpuGECcAcOUBQUKuiXUqSurwAvn4oYax3YwDpjNvF3KgDAkZUPnSH 6g4nT0dH nalsU7k2YNOCC3Hh82gvepiSGjva8Y7Gb6aiEWcYGsUrmOzn0rejoxPjCkq14o1W6PQr66ad1BFE66uG2fS4s9HMaJBW0tIhJmbUas0JO32YHnCG+riNi9KbQ1Bz7HDy4je8XlmzTuTjjlhRoIuVxuc/CJnnKbxvKr07r4OcIWFaoOI8omD5Pmho+HmxRV7TVsys8R/XZzY0RIQcDreuJV0gB5Co4J6XxR4xOpfa7kWwgBgjtw6m7ihUIpI0q4d766iJKdQyl7nFVbxWs5SpZ83G0E5JLO7J8tR2Y 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 fda61dc40f93..9022209b64c3 100644 --- a/mm/compaction.c +++ b/mm/compaction.c @@ -2534,7 +2534,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(-)