Message ID | 20240821074541.516249-1-hanchuanhua@oppo.com (mailing list archive) |
---|---|
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 D787CC531DC for <linux-mm@archiver.kernel.org>; Wed, 21 Aug 2024 07:46:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 564AD6B00B6; Wed, 21 Aug 2024 03:46:41 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 513666B00B7; Wed, 21 Aug 2024 03:46:41 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 38D4F6B00B8; Wed, 21 Aug 2024 03:46:41 -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 1DC6F6B00B6 for <linux-mm@kvack.org>; Wed, 21 Aug 2024 03:46:41 -0400 (EDT) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id AADFC80A4D for <linux-mm@kvack.org>; Wed, 21 Aug 2024 07:46:40 +0000 (UTC) X-FDA: 82475470560.21.4D8F630 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2065.outbound.protection.outlook.com [40.107.255.65]) by imf19.hostedemail.com (Postfix) with ESMTP id BA3B11A0002 for <linux-mm@kvack.org>; Wed, 21 Aug 2024 07:46:37 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=oppo.com header.s=selector1 header.b=c+Pj7Txo; spf=pass (imf19.hostedemail.com: domain of hanchuanhua@oppo.com designates 40.107.255.65 as permitted sender) smtp.mailfrom=hanchuanhua@oppo.com; dmarc=pass (policy=quarantine) header.from=oppo.com; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1724226358; 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:dkim-signature; bh=HHaBFw9+bIi2qBKwhuz2U99Ei1sm+X/y2E7KaDyiOMQ=; b=rDpSrX5nWtMzCsx6nh/RgRKf45iEY7l9hNfQ79jbaGUF7kxTJU/1Z3CylLGJhV0Fti/aLM 7lnxbvRIz/cosDxZMl020j3fgGfWfNXOg3yltO5/OG4LRnCVt77VAad3SiVqPtQ8s/LtCj 7t6NGXXBt/3Qveo7lLv/5b13jHNSwa0= ARC-Authentication-Results: i=2; imf19.hostedemail.com; dkim=pass header.d=oppo.com header.s=selector1 header.b=c+Pj7Txo; spf=pass (imf19.hostedemail.com: domain of hanchuanhua@oppo.com designates 40.107.255.65 as permitted sender) smtp.mailfrom=hanchuanhua@oppo.com; dmarc=pass (policy=quarantine) header.from=oppo.com; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1724226358; a=rsa-sha256; cv=pass; b=0c5qsyM5Q8JZ5qgy9JDeDkVDb5p6YbpUd9azx3TRzSLqgcojz5Fuyqt+pIxMAwPWt8qiwU dexlqVVpUZ5afJwFVIUiCtxyWDr5tNzbeem3k+5M6gSYF4CCSmyiMIyzJSmEnaIT9DMVpL +bHgm4k7Tc82eMrfIJIBx2flW9wDOLg= ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=oBq5rZLwAA4fEcQwTmerlrpz+qpeux3xt7/RCf8RsfK+TljpzF6ZgVHCUDLR2GYRkqkb8+IgCqA3/4YyBaPcEDWBC68/Bjf7ZxVXdJg7yN5tjeCLIvSXqlfnYLwC+zXk6cjsqf+MzJ3nk8yaTgyilpY1ecKjTjA80Uhk3z5bo1y4GzivNOqMledtGN3YuZ+6hvL09DhXiE651meiUEDmeTju642B/z6GWATl6SPOXlCpe60+pgVH37fVAI0opiXWdfpXfjEwbMXYaK8JSCt2SJHKvkiRhJ4M3sPEdoYyg3ZiV6s9rkSXrYTS7TwhmSXe9VYiU6RANl++79UvP5ZSoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HHaBFw9+bIi2qBKwhuz2U99Ei1sm+X/y2E7KaDyiOMQ=; b=MtxC0m7omG1gLWeqmH4IaQ8hRpHaf8Z/FwLYeTVU0NhpraqhF0CbPm7D2BG2mrjTu/PDUTDdlGtD7OgW+/ZaMBm5AgOejJsKsiDy+vsMwIRkjLeDLS9BOyK9Vo/NkTd30X2dMTz8yhUOTnDYVF4UlT4XegNEUfFPp/a4LncMP6DoDYNAw9nsBR7eCMH1XF+53vNCuy2ZE79l1uAnhwukn2ooid4eX7XhIIzVchWshhLgck51Yt15hC7uHMXJgx0uAdrk1KW1HeLCpocTqXtjgjDBcs7Xg2GYfmmB9YXivuOhtDw9DqblYf43wqNh9dJ/xF/Pf6DoFe58C/Nthnn5XQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 58.252.5.68) smtp.rcpttodomain=linux-foundation.org smtp.mailfrom=oppo.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=oppo.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oppo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HHaBFw9+bIi2qBKwhuz2U99Ei1sm+X/y2E7KaDyiOMQ=; b=c+Pj7TxobHuCrsLstzFyrGDnDB8r6JDDDmPfz6f53ByqMAmBOq6eXpFXPligvec07e35sBgYIrjuA70MxuSrOLpFnagsgDukq3jUJGOHJ0aYRLPSISRukvxDFNCo7q6LbzD1zbE5olmMOYDYzruK7dpT+i5eKFPFAw1maLdNQr8= Received: from SI2PR02CA0037.apcprd02.prod.outlook.com (2603:1096:4:196::8) by TYZPR02MB7986.apcprd02.prod.outlook.com (2603:1096:405:b9::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.20; Wed, 21 Aug 2024 07:46:23 +0000 Received: from HK3PEPF0000021A.apcprd03.prod.outlook.com (2603:1096:4:196:cafe::20) by SI2PR02CA0037.outlook.office365.com (2603:1096:4:196::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.25 via Frontend Transport; Wed, 21 Aug 2024 07:46:23 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 58.252.5.68) smtp.mailfrom=oppo.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=oppo.com; Received-SPF: Pass (protection.outlook.com: domain of oppo.com designates 58.252.5.68 as permitted sender) receiver=protection.outlook.com; client-ip=58.252.5.68; helo=mail.oppo.com; pr=C Received: from mail.oppo.com (58.252.5.68) by HK3PEPF0000021A.mail.protection.outlook.com (10.167.8.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7897.11 via Frontend Transport; Wed, 21 Aug 2024 07:46:21 +0000 Received: from localhost.localdomain (172.16.40.118) by mailappw30.adc.com (172.16.56.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 21 Aug 2024 15:46:20 +0800 From: <hanchuanhua@oppo.com> To: <akpm@linux-foundation.org>, <linux-mm@kvack.org> CC: <baolin.wang@linux.alibaba.com>, <chrisl@kernel.org>, <david@redhat.com>, <hannes@cmpxchg.org>, <hughd@google.com>, <kaleshsingh@google.com>, <kasong@tencent.com>, <linux-kernel@vger.kernel.org>, <mhocko@suse.com>, <minchan@kernel.org>, <nphamcs@gmail.com>, <ryan.roberts@arm.com>, <senozhatsky@chromium.org>, <shakeel.butt@linux.dev>, <shy828301@gmail.com>, <surenb@google.com>, <v-songbaohua@oppo.com>, <willy@infradead.org>, <xiang@kernel.org>, <ying.huang@intel.com>, <yosryahmed@google.com>, <hch@infradead.org>, <ryncsn@gmail.com>, Chuanhua Han <hanchuanhua@oppo.com> Subject: [PATCH v7 0/2] mm: Ignite large folios swap-in support Date: Wed, 21 Aug 2024 15:45:38 +0800 Message-ID: <20240821074541.516249-1-hanchuanhua@oppo.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [172.16.40.118] X-ClientProxiedBy: mailappw31.adc.com (172.16.56.198) To mailappw30.adc.com (172.16.56.197) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021A:EE_|TYZPR02MB7986:EE_ X-MS-Office365-Filtering-Correlation-Id: 09db3271-3e79-4fbd-8d9c-08dcc1b55a68 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|36860700013|1800799024|376014|82310400026; X-Microsoft-Antispam-Message-Info: =?utf-8?q?jYfHaHddl95KEyIWvCjFanuUryasUIA?= =?utf-8?q?p9+sTYS+obN/eSXsD0PADfgWXF/2PXvkJSVimGei+sVZUVJiVkJXTOd6dueZR45si?= =?utf-8?q?M7WqzypiJJf30qJ6TCugrHtreN9WsRC80/Rs1fmwyaenCWIED3og0Ol7c+xdzEEwA?= =?utf-8?q?F+NjNK5Df6Fki1eu3tRS390r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wUxEGYeSK22dbSV98ZVEXGpClhSsjp2MAyUnYfL4zi?= =?utf-8?q?SQuk066iR8ikb2ZNKvzG1bqCO07KJoALCumfuuYDxsp4sc3yRTMpgYxgx0qqDTZlC?= =?utf-8?q?lLHQ8aP8ShPW6Fjw9vyvOa8SOrj34cYDw8ZuBXlomHcs7nSJ/KL/kYNk/PAlEqsbU?= =?utf-8?q?LlGX2R9J5oxS/FHsNL4NN7MMZM9YLBRDMDL9j7uRZ8fPUCXowAv1NyAKMZEmzQcKj?= =?utf-8?q?8ileuTjxDve0nTOx8UOrf0WR/NwWyLaRIffcQrsiti+CC09FEo5IYulRRUQ3tqast?= =?utf-8?q?SFLTF9taVMJki1HK3Z9jX1/vEQ+AEsKO+w=3D=3D?= X-Forefront-Antispam-Report: CIP:58.252.5.68;CTRY:CN;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.oppo.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(7416014)(36860700013)(1800799024)(376014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: oppo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Aug 2024 07:46:21.2779 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 09db3271-3e79-4fbd-8d9c-08dcc1b55a68 X-MS-Exchange-CrossTenant-Id: f1905eb1-c353-41c5-9516-62b4a54b5ee6 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f1905eb1-c353-41c5-9516-62b4a54b5ee6;Ip=[58.252.5.68];Helo=[mail.oppo.com] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021A.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR02MB7986 X-Rspamd-Server: rspam03 X-Rspam-User: X-Rspamd-Queue-Id: BA3B11A0002 X-Stat-Signature: feajg9391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3S2uHBa88nUXeV8TI7QnAb9m1SzBuQWyZWoGgOvdiKnvA4xaN3oTHMivEouZ+1oz/UQ0Ybinf4CX6rIlHuJ7qtH1IqmZzgvWhX2/aomia5eHp1Mk49yOj194Uh3EPjmlPnm0YfeGSZ0X4M50dOCOzgMKjFtOCSvxysnr31ASRKH7epTk/Savk5mzHQOM8q76ozXWP4SG1/F/jAix+MxTpqUojRDHUouQ1Bu9zfWG9T1CpXc3SK26Qai1o9PNaBo559kO9eevQqYe+6z0qiOCua3q691WhRfnGZZ2Fvjvb1PU3gfXTII/O4En5i05Kaj1mRM33XyaIdGXL7WiiRZDQxgXr/PG6aw0CbZM2pxcvx3sL/30IQ0rgOfSxcWqDolUZqbId/dP/oGvWfpwtseasljEpMWwdfWmFYuzwKS4Dy9IVTl04OkzxCxoM53Hi6Ryru7wTw= 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> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
mm: Ignite large folios swap-in support
|
expand
|
From: Chuanhua Han <hanchuanhua@oppo.com> Currently, we support mTHP swapout but not swapin. This means that once mTHP is swapped out, it will come back as small folios when swapped in. This is particularly detrimental for devices like Android, where more than half of the memory is in swap. The lack of mTHP swapin functionality makes mTHP a showstopper in scenarios that heavily rely on swap. This patchset introduces mTHP swap-in support. It starts with synchronous devices similar to zRAM, aiming to benefit as many users as possible with minimal changes. -v7: * collect Chris's ack tags, thanks! * adjust the comment and subject,pointed by Christoph. * make alloc_swap_folio() always charge the folio to fix the problem of charge failure in memcg when the memory limit is reached(reported and pointed by Kairui), pointed by Kefeng, Matthew. -v6: * remove the swapin control added in v5, per Willy, Christoph; The original reason for adding the swpin_enabled control was primarily to address concerns for slower devices. Currently, since we only support fast sync devices, swap-in size is less of a concern. We’ll gain a clearer understanding of the next steps while more devices begin to support mTHP swap-in. * add nr argument in mem_cgroup_swapin_uncharge_swap() instead of adding new API, Willy; * swapcache_prepare() and swapcache_clear() large folios support is also removed as it has been separated per Baolin's request, right now has been in mm-unstable. * provide more data in changelog. -v5: https://lore.kernel.org/linux-mm/20240726094618.401593-1-21cnbao@gmail.com/ * Add swap-in control policy according to Ying's proposal. Right now only "always" and "never" are supported, later we can extend to "auto"; * Fix the comment regarding zswap_never_enabled() according to Yosry; * Filter out unaligned swp entries earlier; * add mem_cgroup_swapin_uncharge_swap_nr() helper -v4: https://lore.kernel.org/linux-mm/20240629111010.230484-1-21cnbao@gmail.com/ Many parts of v3 have been merged into the mm tree with the help on reviewing from Ryan, David, Ying and Chris etc. Thank you very much! This is the final part to allocate large folios and map them. * Use Yosry's zswap_never_enabled(), notice there is a bug. I put the bug fix in this v4 RFC though it should be fixed in Yosry's patch * lots of code improvement (drop large stack, hold ptl etc) according to Yosry's and Ryan's feedback * rebased on top of the latest mm-unstable and utilized some new helpers introduced recently. -v3: https://lore.kernel.org/linux-mm/20240304081348.197341-1-21cnbao@gmail.com/ * avoid over-writing err in __swap_duplicate_nr, pointed out by Yosry, thanks! * fix the issue folio is charged twice for do_swap_page, separating alloc_anon_folio and alloc_swap_folio as they have many differences now on * memcg charing * clearing allocated folio or not -v2: https://lore.kernel.org/linux-mm/20240229003753.134193-1-21cnbao@gmail.com/ * lots of code cleanup according to Chris's comments, thanks! * collect Chris's ack tags, thanks! * address David's comment on moving to use folio_add_new_anon_rmap for !folio_test_anon in do_swap_page, thanks! * remove the MADV_PAGEOUT patch from this series as Ryan will intergrate it into swap-out series * Apply Kairui's work of "mm/swap: fix race when skipping swapcache" on large folios swap-in as well * fixed corrupted data(zero-filled data) in two races: zswap and a part of entries are in swapcache while some others are not in by checking SWAP_HAS_CACHE while swapping in a large folio -v1: https://lore.kernel.org/all/20240118111036.72641-1-21cnbao@gmail.com/#t Barry Song (1): mm: add nr argument in mem_cgroup_swapin_uncharge_swap() helper to support large folios Chuanhua Han (1): mm: support large folios swap-in for sync io devices include/linux/memcontrol.h | 5 +- mm/memcontrol.c | 7 +- mm/memory.c | 250 +++++++++++++++++++++++++++++++++---- mm/swap_state.c | 2 +- 4 files changed, 231 insertions(+), 33 deletions(-)