From patchwork Wed Jan 8 01:18:44 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Popple X-Patchwork-Id: 13929755 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 80FA5E77197 for ; Wed, 8 Jan 2025 01:19:01 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DD9B86B0082; Tue, 7 Jan 2025 20:19:00 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id D8A576B0088; Tue, 7 Jan 2025 20:19:00 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C2AE66B008A; Tue, 7 Jan 2025 20:19:00 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id A77F76B0082 for ; Tue, 7 Jan 2025 20:19:00 -0500 (EST) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 64A90A0E4F for ; Wed, 8 Jan 2025 01:19:00 +0000 (UTC) X-FDA: 82982525640.27.1573327 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2078.outbound.protection.outlook.com [40.107.92.78]) by imf17.hostedemail.com (Postfix) with ESMTP id A64AB40016 for ; Wed, 8 Jan 2025 01:18:57 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=Nvidia.com header.s=selector2 header.b=HboGI1X8; dmarc=pass (policy=reject) header.from=nvidia.com; spf=pass (imf17.hostedemail.com: domain of apopple@nvidia.com designates 40.107.92.78 as permitted sender) smtp.mailfrom=apopple@nvidia.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=1736299137; 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=FbhO788gleqDRlrTYQtcF/4Ic6hEuBd4/oqOqIpCeM0=; b=ijaxOeyhq9NzpeNpA7prq793XygJdz5lNUet5q/AuvYLeYDtN5XIAQAJKNchwLe9pdAJHr XIxyUtC0lFgsdPi7JH+UQa9fcbRwpgxi8HSmr7ysJZIClDCMh+D4d/yUBl2cOUX51ugftH bJpykwesLzbKVPDB8z61atXRB0OH2Zk= ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1736299137; a=rsa-sha256; cv=pass; b=mElagFXI6TRkSWPmoLMzkHFx+L3AvruUAa/k1XnTqvGY6M0CjrrohdWLliwXfY2i+ZwuYp qej6+64vYIUM9znuIskAMk75zVOvsXrEUMmmcqVyO2ZAnssP5UJDwlPWEA41Hfr1MPlfiR R5z2llA8KXpVO3FpyDYsLSJyDzcpkXk= ARC-Authentication-Results: i=2; imf17.hostedemail.com; dkim=pass header.d=Nvidia.com header.s=selector2 header.b=HboGI1X8; dmarc=pass (policy=reject) header.from=nvidia.com; spf=pass (imf17.hostedemail.com: domain of apopple@nvidia.com designates 40.107.92.78 as permitted sender) smtp.mailfrom=apopple@nvidia.com; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=BrE/0G+v9skD7XX2TyaKvLyeMYCn7n+gdRyK8aTl2CPs5x0jIVd4yjhTQx5IcUjAkSmMMokKuJPUaXsfWyW8glu7KMVe73OJqXcpGHCj+onNLZVvUe2e/vaglLIlyeWvqFLEQ1RANcqZWjH9/Vqd8Ha15bt98noryNIbL0dLcRCZ2A0Q4qXecBml8IyQkLEimurfqMIUygte3KSXxV9SyIW1APKGoSAR7arqXTvx4z7DScrG2/aF3tHrkihvIzowWLeJZVuheDNFlKTcQYNBV/RXekdKts0b8dh3OZ2JcevNlCs+5ZBHcoSWBHDBx04yHRTlPFGEe5C/2OXzcnw54g== 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=FbhO788gleqDRlrTYQtcF/4Ic6hEuBd4/oqOqIpCeM0=; b=qzEBctG/6eubK3GNBTUzCmd/GcEGCM9AThaJLOIItC0oIW9eR43XhDk0g0MDcrNyGDY2eaXileYJmt+y1Nwj4dWAOgS1Kt8EgyJJ/WAshdU7hHV08Ak2G5bRR7AQNkZgAkqY4Fy8Bvu6KqMGQNzaM05bbSqtiitf/fQv6Puge/R2Mr2fc7s3b82MC3WbzvTBY2AHNw8mStqv6BK0LCDAo4Uyv0GKoTlh0++QlXtF3P+aVYywJ5xYRUqxCARZ3Khizy15/L7VXjL9g9p+XiOxea60dww5+EX9GWtkoUBCDg53eYMPVfvZtsL3jVn0X4lRJ/XOQb8nwBYo/kSuhweGSg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FbhO788gleqDRlrTYQtcF/4Ic6hEuBd4/oqOqIpCeM0=; b=HboGI1X8bDF/3SUFs/nZE+2tEUYIW32uL1Ao1kYM/gqxqTjwuzKjoWnwnq2oB2S69G9HBVDP+iCwtR5GU0jRkUMOyCp0A47fYsV1Nr0woMH2JiWB6d9fVzCi8WGH0ohVCz/x876Gt5fvMbZmSrGNeO+qsAcPXdp1q9rzwVmGP5Wr2z45sTj0t41DVzTZHQ7jBPlQ+5F8z+rWqGrSQdAVcCkKA82MCh4vcQ/QZjHZocAuBjPn08AiuZR7kUyOf64jG8cFjegYKh2z7D6e9cOgaoS+NDT9KI8DgnhvuHjskZSCfZb2fUa34N/jDFBBMdki+aDAE+kk4B4KkgHL2Eb7bA== Received: from DS0PR12MB7726.namprd12.prod.outlook.com (2603:10b6:8:130::6) by LV8PR12MB9264.namprd12.prod.outlook.com (2603:10b6:408:1e8::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8335.10; Wed, 8 Jan 2025 01:18:54 +0000 Received: from DS0PR12MB7726.namprd12.prod.outlook.com ([fe80::953f:2f80:90c5:67fe]) by DS0PR12MB7726.namprd12.prod.outlook.com ([fe80::953f:2f80:90c5:67fe%6]) with mapi id 15.20.8314.015; Wed, 8 Jan 2025 01:18:54 +0000 From: Alistair Popple To: akpm@linux-foundation.org, linux-mm@kvack.org Cc: Alistair Popple , gerald.schaefer@linux.ibm.com, dan.j.williams@intel.com, jgg@ziepe.ca, willy@infradead.org, david@redhat.com, linux-kernel@vger.kernel.org, nvdimm@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-xfs@vger.kernel.org, jhubbard@nvidia.com, hch@lst.de Subject: [RFC 0/4] mm: Remove pfn_t type Date: Wed, 8 Jan 2025 12:18:44 +1100 Message-ID: X-Mailer: git-send-email 2.45.2 X-ClientProxiedBy: SYCPR01CA0005.ausprd01.prod.outlook.com (2603:10c6:10:31::17) To DS0PR12MB7726.namprd12.prod.outlook.com (2603:10b6:8:130::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR12MB7726:EE_|LV8PR12MB9264:EE_ X-MS-Office365-Filtering-Correlation-Id: 6d176e25-9f68-4208-170b-08dd2f826aaa X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|7416014|376014; X-Microsoft-Antispam-Message-Info: AyeZhXAa++zJgdY1KP1QMRg2a8JRa5Pu/QzpaYkmcij831qLeKijQUiv/UYDQs8Aq1rh5V6+Ff/XpRJmBfBr/BHZnOaLlrPsRVdUs+vQlUZf7BM1LiQ258Ly/Uf00v6d5YRIq0UCIMujOs6zXwlMjtF9BKetgyFcSOP9c81+d1k1x0RaAmdo13otxA8rST2/63apHRAYm/I3e/++Ynydb27gEmgf8Tw+1y/d1p/wZXXfBxu5DrlS6ZdbYYRn1fLkKSZeUGI4G9P2PiyOkLjdrI7oYDmBou8g9qSLEIF/wWIYzcS5QcbxA43ivNOjqRhuNQKDSrdreuOHtMp5KyXSWmyWoQ80VCqfbAAv1mfaNvaoWvQ1VXutq+ru4+sMQLn1mij6rdYGJRUV2kz+LPph11s5CzU+/Xp3z3ZN7wcZOjcEe0CygjakbHsH1fPcoc/gIixKdhx7PFUGkbHm/dcP+nrzptsOs53aOCLjY0pMglvgGAwHT06ttdh1sMuyMxNL4eAtIKnSp+qASiHGcTEPiGsg9jszxT6FBzAZcA5561S8XtQ4t1dXktupBXzL+Nzj336RcpPNq96S4iXS1Hpqi4ETcA4wyAxZbtGw5JZtFeasj4d815rRer8hVKK7K7D1r+POykvZ1AQr6kaP9NVbkTsQLJ3hp7KxDfBVwIWyL+A4cx5i1jNbJ/s4okjwGr18+RG5RLuwDaWuZDj4lCvRIsH7N8xmnyySHmcsI5DtAa6NSRMn4XEUJ64cmpel7RA/orlv6MtX85djA/iv4BsMv8bCDnx2SXCZ/ZXBWBXxRQeFpwPGSQTz3j0AvGJWS+skLELsUHvsE6WIdO/qrfaznM3v611yFU4cqo1KzUkLNvLaWqZdenAdbehxhm3DbnTF0aXVQyUouNrgGMy+2vTTvM1YULqjAYLSDiBck+fiQTiwVPyXZhswUzY4+miCfLWQozTQxYQi77/7ZZt0kzupWGDH+xW2E8qDuPxjCrn/NQd9a+NNV166q0ffI5ulIUlh71xFhz+N/P2tH+Tj9hAs4zXc8lsm7QVneaUB3jaKW+DKhvAGBpQ+PaFLSGojGiOzyktK00JZMqo6ClHAW7uMaNv9hJzqm/MlDO7FFjDsPIwfYZyI2SPWMaKZJHVky9LtyItvCnB8+tr3i8Q5NpUuNZR/IibbQbQR8Du6ni1bZdt8V7rxUM0PpTqpBTUxvYC1fln1bfwXqvvtxO2Km1kmZv4mNkykkQvG/vcQjOdE1T+5isv3uJOV7FAmttd2xlUT1YrpV7ad4GhDFzaii4bnSNEKifv6CidQ4vyWrU7IH2xfMQajZSDUl1fIVev+t/1YQ9G0mcvjNHgp+dPDclIvchQAs/Ce67GylR5sagyQkw/7j+GB5LXWj/Ngt6cy7wI2 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR12MB7726.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(7416014)(376014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 2x2P3XlCnU9FVguPtmeRC+UIitqTujL2BZYgj2xjrM2hycJGShRze92HG3InF6oOQZRF5KZbCS9wZXuOpGa05zeu4ZHXe/0LnCnJCuZy3a/0KNiSCYhCjkguV6B9SQq1Vxu3tkFaLD2M/hpJCrMSvMUNOwjbHcPmUI1g2kplykBSpiG0NfhmZ+us/gTrizRrE3TsfboI8rpByGaRzTPv3U7LeUiO4Ca8biaezs/TgBnLFegFwQUZsc6Ep/EXe9uXeQwbwZcfefoh9GSlRUeZ+vC8zrVr5SSnYpE9OMoJ8GclaOCm/W+JST/OVlTi7cf7wm3pihrDh1GAbjMfkWfF4IxITk/Vh9Xp7HTVbeqVdgnF4PGIohDNOsZB5fo/1w+ZyFwKsBcoI0Gg3YW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H0FIsufckLtxkyNon8GL5uR47VrUDlsRbJJ7l/nnrlAV9SOyQfj7f8gex497Ij7snO7fEwbvfOriTaVd2p9yd6VxLuhNCGfhBAsyIB5+F5A+5IYIcqZlfBl6Etn8oVVSBSZ X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6d176e25-9f68-4208-170b-08dd2f826aaa X-MS-Exchange-CrossTenant-AuthSource: DS0PR12MB7726.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2025 01:18:54.1080 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: GId+qdj6g8U4U7WutOz+WKD3/x8VZ7I/yfb9AqN5lJKTiCUYa2ZknUH/33afrh3SCIz3E4kP7OMp68eVrfGyuw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR12MB9264 X-Stat-Signature: zzfc5uudmrrb41bbkg4i9zhbmsqszumj X-Rspamd-Queue-Id: A64AB40016 X-Rspam-User: X-Rspamd-Server: rspam01 X-HE-Tag: 1736299137-448836 X-HE-Meta: U2FsdGVkX1+jm+KUS5dCOdXno3LeEwLpgsikjpbnKmTsFkHGBsRWq4Hy7d1VXvCuZUQNWIQmLsT1TGtcKFeIW+qxHtu2Iz2DzoAN7y509NN7c/NsKKNiwc1cRlRcBobp5xVjmXGrClHJrRtob0kiqwVHVylsidgCCmtCRl1PBvWXnU5A8/+XO/kBhkk/UxKMMYqaVtQUYBefMqjQlTz3uL0t18h7I2fAZd85Zi6hGe0eDXOqXI14YjRRUXDu7jRv5QFcvyCIoJhW7Vtlw/NPRBDT55NAqY7r4eXkaaHfPMiEO6u2VBLn9vADeuWUcJYltm7EUNahAKEGjak+g355q+SZ0UMWN1ZWfz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ii5y3dv1ZYO/4ePJ79vLwPvSG5jnaRmOXq3qMBOt0iHPQ90ul4831L++sasccjNt4KzBtrok7GmFNsAnXAh1nGahU2XewKexUgmDvrvTWUKV56T2cp5pLM9NaeK8GQR5emRQb0Nkt299MViWerbBUIkZ4bqZTLFzYDvOTRcVN/Xc7SulhA+gY+jV12A4ViDb44XfVdge0xXqbXAccE1MlUp5s9jrK7pao1Hwn0TIR7OyIO5oJjuLMopIQ== 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: Once my series[1] and Dan's cleanup[2] is merged all users of DAX will require a ZONE_DEVICE page which is properly refcounted. This means there is no longer any need for the PFN_DEV and PFN_MAP flags. Furthermore the PFN_SG_CHAIN and PFN_SG_LAST flags never appear to have been used. It is therefore possible to remove the pfn_t type and replace any usage with raw pfns. The remaining users of PFN_DEV have simply passed this to vmf_insert_mixed(), however once my series is merged vmf_insert_mixed() doesn't need these flags anyway so those users can be trivially converted to using raw pfns. Note that this RFC has only been lightly build tested. Also the third patch probably needs further splitting up. I have pushed a tree with this, along with the prerequisite series, to https://github.com/apopple/linux/tree/pfn_t_cleanup [1] - https://lore.kernel.org/linux-mm/cover.425da7c4e76c2749d0ad1734f972b06114e02d52.1736221254.git-series.apopple@nvidia.com/ [2] - https://lore.kernel.org/linux-mm/172721874675.497781.3277495908107141898.stgit@dwillia2-xfh.jf.intel.com/ Reviewed-by: Dan Williams --- Cc: gerald.schaefer@linux.ibm.com Cc: dan.j.williams@intel.com Cc: jgg@ziepe.ca Cc: willy@infradead.org Cc: david@redhat.com Cc: linux-kernel@vger.kernel.org Cc: nvdimm@lists.linux.dev Cc: linux-fsdevel@vger.kernel.org Cc: linux-mm@kvack.org Cc: linux-ext4@vger.kernel.org Cc: linux-xfs@vger.kernel.org Cc: jhubbard@nvidia.com Cc: hch@lst.de Alistair Popple (4): mm: Remove PFN_MAP, PFN_SG_CHAIN and PFN_SG_LAST mm: Remove uses of PFN_DEV mm: Remove callers of pfn_t functionality mm: Remove include/linux/pfn_t.h arch/x86/mm/pat/memtype.c | 6 +- drivers/dax/device.c | 23 ++---- drivers/dax/hmem/hmem.c | 1 +- drivers/dax/kmem.c | 1 +- drivers/dax/pmem.c | 1 +- drivers/dax/super.c | 3 +- drivers/gpu/drm/exynos/exynos_drm_gem.c | 1 +- drivers/gpu/drm/gma500/fbdev.c | 3 +- drivers/gpu/drm/i915/gem/i915_gem_mman.c | 1 +- drivers/gpu/drm/msm/msm_gem.c | 1 +- drivers/gpu/drm/omapdrm/omap_gem.c | 7 +-- drivers/gpu/drm/v3d/v3d_bo.c | 1 +- drivers/md/dm-linear.c | 2 +- drivers/md/dm-log-writes.c | 2 +- drivers/md/dm-stripe.c | 2 +- drivers/md/dm-target.c | 2 +- drivers/md/dm-writecache.c | 9 +-- drivers/md/dm.c | 2 +- drivers/nvdimm/pmem.c | 8 +-- drivers/nvdimm/pmem.h | 4 +- drivers/s390/block/dcssblk.c | 10 +-- drivers/vfio/pci/vfio_pci_core.c | 7 +-- fs/cramfs/inode.c | 4 +- fs/dax.c | 45 +++++------- fs/ext4/file.c | 2 +- fs/fuse/dax.c | 3 +- fs/fuse/virtio_fs.c | 5 +- fs/xfs/xfs_file.c | 2 +- include/linux/dax.h | 8 +- include/linux/device-mapper.h | 2 +- include/linux/huge_mm.h | 4 +- include/linux/mm.h | 4 +- include/linux/pfn.h | 10 +--- include/linux/pfn_t.h | 96 +------------------------- include/linux/pgtable.h | 4 +- include/trace/events/fs_dax.h | 6 +-- mm/debug_vm_pgtable.c | 1 +- mm/huge_memory.c | 23 +++--- mm/memory.c | 32 +++----- mm/memremap.c | 1 +- mm/migrate.c | 1 +- tools/testing/nvdimm/pmem-dax.c | 6 +- tools/testing/nvdimm/test/iomap.c | 11 +--- 43 files changed, 108 insertions(+), 259 deletions(-) delete mode 100644 include/linux/pfn_t.h base-commit: 47dc3422e9f51a38e4d5490937f798f080015756