From patchwork Wed Oct 2 04:01:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Wilcox X-Patchwork-Id: 13819303 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 0B279CF3195 for ; Wed, 2 Oct 2024 04:01:18 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 39A84440173; Wed, 2 Oct 2024 00:01:18 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 32250440168; Wed, 2 Oct 2024 00:01:18 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 19B8F440173; Wed, 2 Oct 2024 00:01:18 -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 D6CC1440168 for ; Wed, 2 Oct 2024 00:01:17 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 2DC731619B1 for ; Wed, 2 Oct 2024 04:01:17 +0000 (UTC) X-FDA: 82627312194.14.E088512 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf21.hostedemail.com (Postfix) with ESMTP id 8A0441C0002 for ; Wed, 2 Oct 2024 04:01:15 +0000 (UTC) Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=LO+loDKm; spf=none (imf21.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1727841547; 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:dkim-signature; bh=81ggZHnEvcBilUrO8Krf1e9LLlvjup5oMzJTQuGKOy0=; b=v+jVuOMYta6EQJzk/A1Q56qWE9nrlBj9TFrO8mctH1m0KWkGYgvtgbZrvihDwmHc+ZB3QG ZzQmk8IM0zGsUVnTxOgVnj/N1jqJabtnfuK2XR3USNKlBdDlvBtM48ue2mlzqYwwsrgHbH tYTyM0JALEw7Rpiooh8jMGXeIkyJpQk= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1727841547; a=rsa-sha256; cv=none; b=a6tDppcoGsfZB2bR+vOq7GHw4TGx+U0846Z0SsjjfjrT4JaJ5lLxwatjTrr650lyUrBdb/ eEtI2m1rkNQima+Ni1jSFTofFoqRAV8QNKwQ2YVP0MC2kSO98bSxel3WbNYeacpW1CmX+I XaTDEH2z9igbONDHn4yfnrZ12mC4pws= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=LO+loDKm; spf=none (imf21.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=81ggZHnEvcBilUrO8Krf1e9LLlvjup5oMzJTQuGKOy0=; b=LO+loDKm3/JWD5V7y98WPxn+jl Av3Bs+DCvSL5oytmlwf4y+dDZSmHfDNlVp0R2k/1kAKQ5bAN4KKJa7nyVa1Y9qNAHxDOavZVHV7dw 1KdwR9Vxb4OeRabK9McNKm7PIle5OaGCwJUUArWv27qAcGdujiWi01+cU/rMP5bjqOuYM1s0KWGsE NSHzSCqOqZ2BeT9rEBWim8BAVLbo9kQmv7ZO4LcZCX00vvgFsdmL1RzxR+UlJZlewhuf7dexRMe9g rgKItF4kNoFjRRNEmT11nw40ikRG2qJxVjJFISVSWP1HNJab9/kmtfQFliSuSEKMg1xbe4FqgJjc5 zznsCgnA==; Received: from willy by casper.infradead.org with local (Exim 4.98 #2 (Red Hat Linux)) id 1svqY6-00000004I8i-0WIO; Wed, 02 Oct 2024 04:01:14 +0000 From: "Matthew Wilcox (Oracle)" To: Christian Brauner Cc: "Matthew Wilcox (Oracle)" , linux-fsdevel@vger.kernel.org, ceph-devel@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-nilfs@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 6/6] migrate: Remove references to Private2 Date: Wed, 2 Oct 2024 05:01:08 +0100 Message-ID: <20241002040111.1023018-7-willy@infradead.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241002040111.1023018-1-willy@infradead.org> References: <20241002040111.1023018-1-willy@infradead.org> MIME-Version: 1.0 X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 8A0441C0002 X-Stat-Signature: fmrfkfzoakqiyznbpxqnqmcyt44mj4jc X-HE-Tag: 1727841675-717618 X-HE-Meta: U2FsdGVkX196q2GSy/4oZbWOwVNwYZR2VjcXdsqrp/hIqyf24fUH4jWspdXNca7CFL8izqGqrKkoGhecA7TS2SBu4FPAqqgQd1HLMwXabaH+3FvWtjoB+NFQfbtiJZiZW9gaa+uMvNvmaXR3yomhG1JSrDOOvx8KUTf6K1rDEF7rU6/H3pn1w7k/vUkA9dI1xMQm0xh4I+DIOURGtsddzitZaGncJZciAXY5JHigsr8erPlAx9FDjcadTTovNbH+L0JVxiTeH5EvboMyZ4LnyIbvBznCd2YYzt8BsKj0+Dv6bqFJ5H83kaHID2+Q2Z1ko/9k5lrdWEXF4a18OY5+OHHSRE/AGwmqAzEbKU95pMRRB9f/g/zTr2C/cfkPbMTF/qGEfZ7zB7QibaFgCQPvyxS3Gh6n5iW0W/K4Ew7W20G5APzk7A8l6mqj5JdFgPyZJzqeFByeedo7BmLBOytq8I+AzZsjmw0CSbtEw+E+HVCp8yHf4vdl5LJfIS2mnthSvV8JMO8KWeOronjFfgpAwu5EsOvWtgGxlLtqSUc1hnSoN/lFvAGQdpYZliM8ZkSkCXJ1Y31zGy2Lb5Qb4z5gn3KUmAL4xHjzGyIPC2YqP8SoS89IFL/Yiss1/QbAgsxmekji+E/dnJ66HOZtsiSTxrAkOKRtzHbR8DH7uPXltmuijw8pkhp9d/Hsc0qHXOrmfyLUA9BW0FdvGduvMD3vmrfsgr5v+Ur9qsqXa2rrD097upf/5W7IQSinJLPLfytIhIMNerh34HYz/efWVuDDDGu8aHBV3Jpo1bv+dg2MF5KzA2EQHtMEUwaA7yBieIFido4pcex8ygFhTtlq5EPOgE7HsY1TvEv5EhSqZf/5+0GXq0iou+s9c+JEAmZyXSOvf+uSRJPUMTjAL1KzC57NzAExepDGm9V31npOHFJai6MBsygdZgqMtxKILv0hFQynlyn9hOHJihD2IlhzQlH ozsjXo7P xZGZ+VjFAckB9g7CjppORI3EPHyb0dXRV61jgxPYyz9/h8xNxe09GBL/1xEduNU+6B8oJThfCAljHIf/7L/eoSFImJPaUt3E4yimdXll3bmy/DtZ3QAe0txWzmavxGAKHV1W04fDs9eAtCNlP/sHP4P6RV/uNLac7k9+6Ltyczt0WsBTV2MfWOcGbi9PXx6PtHCBvr8hP1xwlwMjfKlCOUMq+f6Fpwo2iiM/5zVAG/sXK4cM= 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: These comments are now stale; rewrite them. Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: Jan Kara --- mm/migrate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/migrate.c b/mm/migrate.c index df91248755e4..21264c24a404 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -472,7 +472,7 @@ static int folio_expected_refs(struct address_space *mapping, * The number of remaining references must be: * 1 for anonymous folios without a mapping * 2 for folios with a mapping - * 3 for folios with a mapping and PagePrivate/PagePrivate2 set. + * 3 for folios with a mapping and the private flag set. */ static int __folio_migrate_mapping(struct address_space *mapping, struct folio *newfolio, struct folio *folio, int expected_count) @@ -786,7 +786,7 @@ static int __migrate_folio(struct address_space *mapping, struct folio *dst, * @mode: How to migrate the page. * * Common logic to directly migrate a single LRU folio suitable for - * folios that do not use PagePrivate/PagePrivate2. + * folios that do not have private data. * * Folios are locked upon entry and exit. */