From patchwork Mon Aug 26 04:01:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kefeng Wang X-Patchwork-Id: 13777057 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 36BFEC5321E for ; Mon, 26 Aug 2024 04:01:43 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 330226B0358; Mon, 26 Aug 2024 00:01:42 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2AA266B0356; Mon, 26 Aug 2024 00:01:42 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 171E56B035A; Mon, 26 Aug 2024 00:01:42 -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 E9A6E6B0356 for ; Mon, 26 Aug 2024 00:01:41 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 8C87AC0AC7 for ; Mon, 26 Aug 2024 04:01:41 +0000 (UTC) X-FDA: 82493047602.18.80D1363 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by imf09.hostedemail.com (Postfix) with ESMTP id 9810D140012 for ; Mon, 26 Aug 2024 04:01:38 +0000 (UTC) Authentication-Results: imf09.hostedemail.com; dkim=none; spf=pass (imf09.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.189 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1724644857; 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=MIp2HFKFz3obW2KN7m39Q0GwRkrRnwCEcbO55j677Ok=; b=xpbZiCKP//pC+nkSvTSYAW+CLl01asZCHly7PgNAlyPHa44+wIK1CQlO9RvzUylKUfhLw8 4ZYfCLKheBQtUaZGf0LHEhWgARnwDoaizryRXbKQ+IbId6emgEYd9vJsqo67/rmg5ibBnt uV+zd90tD03BQmuRi97qF9SPI+y58Bw= ARC-Authentication-Results: i=1; imf09.hostedemail.com; dkim=none; spf=pass (imf09.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.189 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1724644857; a=rsa-sha256; cv=none; b=tIss1bSzgV82JMYwh1AeNHbb2ShslmgweHkd5tKFA6XcGxBxoz80NC2vQN2c8EkMV1zfvw q/ncOnuqqVbjEyDdAXSovT9p0WxEuoDhGULrB4vONpUuKkD2SEhW3DPDDrW8gaSNnYn0gb T/93Fo019ygiICrZocjQ92NvCIFkX80= Received: from mail.maildlp.com (unknown [172.19.163.174]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4WscLR1DtMz69LB; Mon, 26 Aug 2024 11:56:47 +0800 (CST) Received: from dggpemf100008.china.huawei.com (unknown [7.185.36.138]) by mail.maildlp.com (Postfix) with ESMTPS id 727AA140258; Mon, 26 Aug 2024 12:01:34 +0800 (CST) Received: from localhost.localdomain (10.175.112.125) by dggpemf100008.china.huawei.com (7.185.36.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Mon, 26 Aug 2024 12:01:33 +0800 From: Kefeng Wang To: Andrew Morton CC: David Hildenbrand , Matthew Wilcox , Baolin Wang , Zi Yan , , Kefeng Wang Subject: [PATCH 0/4] mm: convert to folio_isolate_movable() Date: Mon, 26 Aug 2024 12:01:28 +0800 Message-ID: <20240826040132.1202297-1-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-Originating-IP: [10.175.112.125] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemf100008.china.huawei.com (7.185.36.138) X-Rspamd-Server: rspam03 X-Rspam-User: X-Rspamd-Queue-Id: 9810D140012 X-Stat-Signature: 6jecumm6nzz4ugqkcpu9s1ezwkjzczad X-HE-Tag: 1724644898-575950 X-HE-Meta: U2FsdGVkX18iKX4OkcDFG6BOrE034E8E4NJCuFpS3GNF4wewSy6q6z2kEGavRq1ZVGR9Dc+WjjjuDWOP9i5rpEYjqeUospS6hOcFJZSPeL34FwmKQTOeN6AqrtUwL+UT1ZkT1cDNtyvaDFwkgrhSB/pG6vJX9WqH/JlDlY4SwMASN0B05bF2pQOnBoFhtAKH+IUcu4JLwVFlY1Oj1Pnk7xn+wHAguMq6/tWJM/5Rm0IKIFZaEGWSrmHBPRrFsWPwqaPr48ycGI0qDQvCvchbawC5KNQBZdrapYJ/CM5OoZBAoMZMlyyszCJ5Sqp/SXNWxXaz3CKBErDIDyw9y6y1R7XNWDnUnMqW30rjsg9sjS6rGmKp/PJ4BiZf5mvDB6MIXd27IFctx/wk5YhnllpuN48gNLIv0pCgTda+avarsxXG8ZJFl1BMN2Ktja7lh0wZ3MvIat0nrUUi42PIOGnL9za7s4BkpmCngbnG56/e/cOGj/5QogiPRcT6aGV/mG6QFWpKXpO8gO470v0d7jOFNWE5YyfUiMDMQgLZVkElWhCku4ZbG/+g4k3AdqlABv5CHHeu4MdFZsLpfiw46LD/x8BH3igcijbOV48qgQ2REK2Bck6PoVLb/UypL0nW7n/QM/1NbmBXYwWmKSkJ9Q1AItmgh1miq7Lo59PqozHuSCwAmW1h+motClDJJzRjzQxaDekUN3JOGXmdOXTfbYcqBNRS4VsVfqy4Rjm4D0J8xFCCg7U5JHhVYUwaIvr1d8ExVQ/N07LgdhrNIZkkvQCBJHPdDYAaOKHiIz77FFbeoMpX69Zh7LShWQDVzlD4ZahP9ZI7H7RGvucIkex+d9yScw85mH2aLvjvSENjy/NaKK5Wf8I8v4ohF0RgV6wcNp22b0b51BOZCj7BnEjm/kwoRUnxp0or8g7uygwCxtuV5S6HxsDT2uJXCv9DOC5HHRlOPjz5PyKn08LtdWxnDbP Z0jldvdF YX6wPdkYH2qZYzrNwy83/LIXw5bfXqWqW1Kzz6uvf6wJ+hL57CIDTwNuEMj1fEOt5Jer+rytQLYGSjcbZEYRAF8xIq5G6o891bEWzOH9oWRSLx8H6c5ZW1dPVe1XHsfhN9nqnqTjk/DZzOYYs+zwo062vX3087c2jzSiWwG37jMSHj1iv+997OhGPQ92S/HaVwbtEvZcb+tsyp+/Jyyr9LCWFhA== 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: List-Subscribe: List-Unsubscribe: Convert to the new folio_isolate_movable() helper. Based on next-20240823. Kefeng Wang (4): mm: migrate: add folio_isolate_movable() mm: compaction: convert to folio_isolate_movable() mm: migrate: convert to folio_isolate_movable() mm: migrate: remove isolate_movable_page() include/linux/migrate.h | 5 +++-- mm/compaction.c | 32 +++++++++++++++++--------------- mm/migrate.c | 37 ++++++++++++++++++------------------- 3 files changed, 38 insertions(+), 36 deletions(-)