Message ID | d7a6c9822ddc945daaf4f9db34d3f2b1c0454447.1736488799.git-series.apopple@nvidia.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 7B574E77188 for <linux-mm@archiver.kernel.org>; Fri, 10 Jan 2025 06:03:05 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0710A6B00B2; Fri, 10 Jan 2025 01:03:05 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 01F0D6B00B3; Fri, 10 Jan 2025 01:03:04 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D66B26B00B4; Fri, 10 Jan 2025 01:03:04 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id B6F766B00B2 for <linux-mm@kvack.org>; Fri, 10 Jan 2025 01:03:04 -0500 (EST) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 70BFB44282 for <linux-mm@kvack.org>; Fri, 10 Jan 2025 06:03:04 +0000 (UTC) X-FDA: 82990499088.19.42F6928 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2071.outbound.protection.outlook.com [40.107.94.71]) by imf01.hostedemail.com (Postfix) with ESMTP id A4A9240012 for <linux-mm@kvack.org>; Fri, 10 Jan 2025 06:03:01 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=Nvidia.com header.s=selector2 header.b=UgLDriv9; spf=pass (imf01.hostedemail.com: domain of apopple@nvidia.com designates 40.107.94.71 as permitted sender) smtp.mailfrom=apopple@nvidia.com; arc=pass ("microsoft.com:s=arcselector10001:i=1"); dmarc=pass (policy=reject) header.from=nvidia.com ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1736488981; 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:in-reply-to:references:references:dkim-signature; bh=XvFcZCSCKcpqUQ54gxypRLCdDBXUc+Lz/TVUpjcAZiQ=; b=z4Lh3XJgUi6qy9hkj4PJv69jj/mAYHux86eYWEKAluXbYiWS0iwr16r8bLlswz5+d4tMWT oxBTbcmxAcSuGudgET0ovp2owQLTxvQpnSx+vZ6JbeiVhs8NMRq9ckvZaWginHB++EPXdD U3I9leiTBMEpTOgP2hJ7XKZM/d3MDyY= ARC-Authentication-Results: i=2; imf01.hostedemail.com; dkim=pass header.d=Nvidia.com header.s=selector2 header.b=UgLDriv9; spf=pass (imf01.hostedemail.com: domain of apopple@nvidia.com designates 40.107.94.71 as permitted sender) smtp.mailfrom=apopple@nvidia.com; arc=pass ("microsoft.com:s=arcselector10001:i=1"); dmarc=pass (policy=reject) header.from=nvidia.com ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1736488981; a=rsa-sha256; cv=pass; b=kc1zSGVV9P+JcH0y0psRh5ZixNteFwSDQ5S+CgBmeGPqgO8aiuMuENyrE7Yr/u2AUp/gNB tR758zBvKsjQQDd213bk0mJlNUL3YyUeYgHbK703qhzQfMcCdr/THu9I7U46/TntW4wgHo WtLikgn55tqV8nuX/WjrzbQeWaJVi2E= ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=os0j4QQ9AVHD3pIManHjassG3FqG0GNCb/Ku8DlBVKUexQi8eYH2PuIYRsqauR7xJVKywVoXRPEVMN5JRNer3jHzbcFhCDOymkK4BtTPHAyuCMNnYWOKCtmqZ2UwjxhNkFMRLg4iyc/NmxL49KGZciWDfaIds8yKwqnS703v2igc6xcSWH0jErLF6TGCRyzmdrubdDj96IyB/5LvTSfaDYwrE5x8xX+E61xbuR+CpC0EdaWE9HdaF7aYb8jpeUiZrpi7Os2/I2uP1UgzKU8iKuLpFqCF9NGrmPUMoOlD2Www1drmYwPewFivmJQnXpSnaVXt95XXgPYkgEJPe7j9Ww== 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=XvFcZCSCKcpqUQ54gxypRLCdDBXUc+Lz/TVUpjcAZiQ=; b=Tl9dUe6S6Veh3DXb4l0UrA985PTlyK5ieSH7ltckscoeFl+9i09ev6qYVZ1dS2o9GtUyGT0/4nDe/5ujSPmH3tIOqWBPWNtNzNiqZ0Cx20JMpn/+0bt7mkC+mY11+cILbXR0yZC25pVz9+//WHo9kEFZpTtiMddYc1TKiPrA0EPT/vJO2Qi9N82mSMOaXPH0cE6uDMFOEe4at25AzTxiWZmsjyf2Ck0rXngBQ7hsI2ggPTHILcZrjGx1OFZJNpc8mdbYUIjED6SSwMeHCnqxpM6QJDpkTYzAFJJpO7b7VHmIWshX/hePYyfDfOg6sEcKFdo0RDeVUZyWBGEvSk0Klw== 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=XvFcZCSCKcpqUQ54gxypRLCdDBXUc+Lz/TVUpjcAZiQ=; b=UgLDriv9nCvZ2Wi1DRqHranyCDqSB9FfjRiLaCzRCHdxNMAS+JGoLhYLRpU9Tzm5e2an205RRcYTX8aWF19FvH/R9/wdGyVGiu9niS4FNiJjcSYL2tmWzu/iGyqakwdbKdGqYg5ytGjbeeie7LqjJTM/bW2iGdODIqGJfZJjZMoa5wuiBiyldLTErYXA1uNYUWRGkRHnGFtgikzqcF7ru1euh0RcveMJCgedml/VkBMjV40WXz2uaLTC0aJMnKj2ZYgToCgIhTq2gDGglte41a3iYnHMXcllBugLbd4GlxLyhPk2FikAoIoKX7wx4Qauz5W4TNheYncleOodzzynUA== Received: from DS0PR12MB7726.namprd12.prod.outlook.com (2603:10b6:8:130::6) by SA0PR12MB7002.namprd12.prod.outlook.com (2603:10b6:806:2c0::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8335.13; Fri, 10 Jan 2025 06:02:58 +0000 Received: from DS0PR12MB7726.namprd12.prod.outlook.com ([fe80::953f:2f80:90c5:67fe]) by DS0PR12MB7726.namprd12.prod.outlook.com ([fe80::953f:2f80:90c5:67fe%7]) with mapi id 15.20.8335.011; Fri, 10 Jan 2025 06:02:58 +0000 From: Alistair Popple <apopple@nvidia.com> To: akpm@linux-foundation.org, dan.j.williams@intel.com, linux-mm@kvack.org Cc: alison.schofield@intel.com, Alistair Popple <apopple@nvidia.com>, lina@asahilina.net, zhang.lyra@gmail.com, gerald.schaefer@linux.ibm.com, vishal.l.verma@intel.com, dave.jiang@intel.com, logang@deltatee.com, bhelgaas@google.com, jack@suse.cz, jgg@ziepe.ca, catalin.marinas@arm.com, will@kernel.org, mpe@ellerman.id.au, npiggin@gmail.com, dave.hansen@linux.intel.com, ira.weiny@intel.com, willy@infradead.org, djwong@kernel.org, tytso@mit.edu, linmiaohe@huawei.com, david@redhat.com, peterx@redhat.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, nvdimm@lists.linux.dev, linux-cxl@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-xfs@vger.kernel.org, jhubbard@nvidia.com, hch@lst.de, david@fromorbit.com, chenhuacai@kernel.org, kernel@xen0n.name, loongarch@lists.linux.dev Subject: [PATCH v6 19/26] proc/task_mmu: Mark devdax and fsdax pages as always unpinned Date: Fri, 10 Jan 2025 17:00:47 +1100 Message-ID: <d7a6c9822ddc945daaf4f9db34d3f2b1c0454447.1736488799.git-series.apopple@nvidia.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <cover.11189864684e31260d1408779fac9db80122047b.1736488799.git-series.apopple@nvidia.com> References: <cover.11189864684e31260d1408779fac9db80122047b.1736488799.git-series.apopple@nvidia.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SY5PR01CA0022.ausprd01.prod.outlook.com (2603:10c6:10:1f9::14) To DS0PR12MB7726.namprd12.prod.outlook.com (2603:10b6:8:130::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR12MB7726:EE_|SA0PR12MB7002:EE_ X-MS-Office365-Filtering-Correlation-Id: 456f7415-3a4c-4d56-0d10-08dd313c6f04 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|7416014; X-Microsoft-Antispam-Message-Info: pJnuwXBuF/7HAFkP/p39Hn3UsYnbbfdowcFCWovW1DjPxy+Klq2M2WBYgHl+Lv7TXkIwGBR2mQGE2JKuR/JyVMbPbHO2spguE50xpjNhfDkbdHAAp6Mb9mlL8OflNeYdVkTNsIW3velfoLnxKV53MjeV/L0muz3LqtS0E2qNsJBqziY/b+kiYw1gP0ZHPdmHxZeoNoDrKeNGIBK3yJ+zNsbj8Vq1IkuWsd83r0ztYAGGIq97W4j6kyN63e4Jeh3j5YZBEoqZMzRe0TavnSlfsJXf5koO5ua+w0zutlcjNQvhrNSDvhaYp5YPd64J44wzY82CwHtda/jC8nKPRNVxd//n2KWdcMUh4xikUk8rdmzt1ryLZ1sp5dI9VpJCXdySQ9+FY3jEgRNeaOi2E93LiQfsNMHqv9l571kg04xsx1ZbpkK37Ql4utq22x2IexPWe39looKaPWHdeUgvy6kz1icXNvUWnAe1Of+dfcEapxqL4dV60P1DCIEZdeABMVpMdgKWNY0l456N+UU0eHsxdMtVaGTFuM3FrToE0j5z29GkDXQ8zPCngS6V6kpPDPALS9qo1oLZ+R5m5dBLPtfjMcl4RrxubY2//ZTtvRC77sMOACRM70ffGGIRsQwhObdaMixrvovvE4rn3VpsjBrJnjdxylsopy0RK9I3TGLky5trYGrXzcMYb3u9yM4LIn8KKDFq+72rS9OlgNdsKJYIbQ10RBWhTpzcl4iPayETXlZwJOa8tb4o078GN7j2DHltTaAxRMgj6kzJTYBxVIDGKpkFKl8C7yYUtpvytPCQkspHcTbZLrOa+JZioNP/HsfZZ8cAY/7RCGHTLpdzAVhb0ZyD19jrexYwqVcoJl5ng93GTtlZ+gjC1HCY6HDljni19qcYWidO27wk1WVRhUa5kaja9/dT5nrHFIItaLU8yV08h3du3NPMeCvgiN3ml0P4y5t95ixgKsIJCpqq7cX8ENid8CX74buWf/cFatrdW7Yq3wv6/Q7goqFeMw5igycjz/VWFqcnmYUVpLtEkm014Jx+7UPliLOt766IrC5XOve/dsdh1McWqZIX3Q8TMns2Wgk4zwpu1vjTOMeRA2D2O0UU0iFt8WvPJJ+rLgGbS1SRFkbJmmJczPW/u3uYuNCvbJRqMXUCIjy7cm/YczjmJSZhFXL8BRBFPJ/zgiCdzXnoeOUw0LTut522AkULrE7Rbt6SFx6IAzi92glax+eJmVKH6lOxscflYgPsF3fROPT7nliuNComm3tHLD/Uq8yPhN8VRh5kc/6N6JHklpY3IbOO8UEXvYiwbjxDOxHWhI3Qmjlb7NXF4dms2YuvIJ+QrzEB6JrGrxKonqRQ4UEd/G6CrbdbD/gabCrSHkOmd07aXn0D+oIel/L8ZOlBs4qy 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)(1800799024)(366016)(376014)(7416014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: /G5kQu/rWqQRdtzAGzszb69dvat5O+2SVsPRaiQcw/WTDICZZqGpBfMBL7EN3UPrd5TJT89+lQtgZgAlGw/Z5fhDQvgugCKL+wPxZ3/CDFQqsEJMFHDwZq0mkLbQ+STSxGv7cc59MpjW7qyZPNyjSjOECW+xlfG0SRWk5Ge17ePcOplJosZPMBGwxF+EYhaW4vBgXRd684Rv105+i6fS3Yk8aPeyqwMw+WgPmJ2AefxWzgVGntEDVjH+raLP5Tt6z24pw/hKJhqogNU6QHwOJxG0KIcCRSr1dmsCF0VdFx5x/I8yWNGvZ9rYspSHZLcYskqtKN+VT0dRSjhpbBxE+s2KfYXLRKwxedyn+adjZtopgO3n4FPFTlfqpGvGC9BDInbVFk18p3/fgNoqBkXVu3WwdPPi4gm+SUqR0v8zcKSvlUuZIOlxYX90rtXJQTZ7dxPalz1kKMvX79rTthG9L/lTe8ULnpFBe385Cu3mJVC/oi5DsB/Ux8FmswRSPMUhPC9qtMRmB18Ygdme9GhXTwlxVx0DBGr10xOaVnS2Ssjgu05DHUbI3oFiDIwGOfCbs34U/wivGPohxEFD2yEIm4GMrFdgBMqFm7sz9qSanhx+bUcR9VOL0/1TuQwLUeFLrPAQJAUPreCwoFcHqchaSLp5/UzQYs3sxtOA3Sn/niG9ZOg1U7LpFu8WwACsC+d8omS8f8/WFHTtlik1rQK1/lgdZH7q7p0LMEudlXvi5bb0CBxWmVWne/JAjLgNGFeh1LSRZGzIrw3Ub5PfExQQ8EMt4ZWPt6ZlJq+fHzcN1r+9IIhgxGk901uU8IxQdExxGqBur77oSAYtFvujDPdTlkTxy9d4v/555cOGkpkEkJgvqPjw9r7CKhC3x4uHssonvADMzF2XwPBbKJvcelz4TIYusxrnpExH3CJIUxwLQPHNUyPoneo/nDSOWanZ5hvRjPUD2D1MEg0X0gUxJp96JK1KyHmi7ujjHlTwZvsrG3WFfz+qYiMVwZQB95X1nMtO827mX95PG/qukxLg009x3NWY37ggkt1OMZP70IuywTUMrd5cmzU/8Lewu8Siwkvu1dZGvxiZsx9Z0dX4BeDkKSJ4NbQN2+H5d12ueMEdbB0KLqKF2FXbkCJaK7yTh5spVi4YkfzXnoMocrrt0fX9mHl7vN8pyRkqh9xUWEHrHxunQANGzWe7aPDlurNsUQBdNN+q+0sxuJ5qn4cWCAEswrzv215P08+ASmKefvtXb3d7RjWHFO/gefVkM9gKhsXDKd380Sg9pfgkOINCzX32J5srMkrrZU4aleXEFlK++4u6JvcoM5/xSv2ZpNcI6sH6X7fWClQK0+SmyjJ/qBR4JxRCF7IRfksC+Y4wVey3NlObJYC5f01xRySXFiKyxA3XftqkmAs9FoX5TAu87TJ5mE9AMA747gq+VKPYPE4HbcpwIuri+M9bylu/1a9m7T+mohk3cm1jYLgvLld1fzUnQqH8lQE62ZuXNKHmZ4fOzuqyNb248ufA8MzYIBLUlaFEZvppAwVGFYw9fk+QE8b5mw5dFfu+U2QZHLORD3V2osX8hluB1MVdqmSkjxygGPoE X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 456f7415-3a4c-4d56-0d10-08dd313c6f04 X-MS-Exchange-CrossTenant-AuthSource: DS0PR12MB7726.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2025 06:02:58.7792 (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: cno/dOo2jInqHkixqewlGVAKXyDUOLosISXpA12oyJUhC7N2j26/5YmjPX+S2IljlOzk5X1XxVZOJOQJf65rJA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR12MB7002 X-Rspamd-Queue-Id: A4A9240012 X-Rspamd-Server: rspam12 X-Stat-Signature: qxpixnd3dwfhembp1qzdu4u93hte3n9c X-Rspam-User: X-HE-Tag: 1736488981-355788 X-HE-Meta: U2FsdGVkX180RlgLjhdDrYqvjvw+jdQBrOtX4Z//ahYc4aXFPqC+ElDU37nIbS1PL6FuOiaeWzje7wrarHmPSS5WYBQLB/KE3Vw8w8Ixu9ZBAQtqR75z7qIHiZV+6V4wmRhFHtmUm6Nd+mnqwhzBitAWf9d8iYNR+JnhTJ/Ixd39L2YhP4lfogS7pbyA9ejXw60hGWvk4RRyi2MxhB9w1lr14jtS277yHMv3b24tV67hQBeqVdfH4EaS6nMX3uZ9uD4Tynz+KLLMJ0ZnN75AAtQ+KnHMnsq4nKCIEkM3oe8q/4+HxCyeDgw9xuIcMnbq5Y6ajchUHXad5BVI/cGI+2DxEKh9SIMfZYliLquqBUrbz00mUoqaXJeM5lTKEbQutajHF/ZWcOHMihAJk+Z4D13c/0TIL4ZZX00I8jczWXR4TxKfm8jQLSvWySzr3A00TXbCddQDbOxvNEAqZzI0byPWS9Buz2fdXRl1lMAd55ZcCx6ILqmyhHwTWNCI8kfnbU8feAcOJdd0g7fx3ZM3WKmw5qF7DTyhzpL9QTNZBy8qtbFouAzq9BD3zcwGoYyKXCwdhdiTJdjUYBbeWrX2oui4JLSqkY0iwt3gkzrHsgJj/ORwXbuUX2AgZ+aMevjNh7CjExq0xYEB68Hw504MVQialDvueY44/26f0U5pWD+dNseTq+rIicq80R655h/PGpv96uKNzuhkvVLPGXF0w+XVsxxU4/kyQGfRJ7AnL+1HLBfY9qhpv6NtjWUGOcEN/Lwg3eD2keOc1IeNUwaWGLhZtY+xPcEmDe5AkWuOfGxYUzUi8imSKPOrIzgmzPmVu4+8n7hiV3eImgqHS4vp5Ek0PwLgr0/1qdfFNER8f+z5MckpBsUia/7Dhi5+fXQFjC6Xx8wPmwlo0Ur0PW6wNYu4lOXvjYUrHqgOUrNQhuk8nz7RotFhdQ35uNqZ6797rVdoMiKEDoNkKXZtHV7 UmZ1/+/W VUH3pPQue4QaOIJqKcyFntAQ14RtdXjbA+CGBgBRhPWn8tMpoa+W3QwsvGSGG4fEnafWpt/cCaheVK5TX8iVdhMAQr/YKVOv/6De0h3oQwsugevyP42eplFjIJWfLFvSYiP6ptdwB6JSVoExLvveLnduBmAT98qO9FmI23bsHgk+XrgoMp3OsvrVTj62dlxLeFhqCOJ4y1Ws78+W4gk4WYM69DrQv96+PiqSNdkzesqA/tp5Iw8SC8jaFVhKMR8GKevIkVjz4gyEx784uq+HkE8hjOQEVTJvJatW8+uhnvnF739saQ2QxMKpVFEi1kLgJedWDu3Y6M22hLtRAwSc0ELXc2ttrns3Adf6EhqDBDW2t61NA/KtEUZw6vsPOsB1yLiDjahkHdu828d/1fCyckU9ZrKD/qIT6+GQJ/oY8VG6ZJuwRQ2dceS7kmPc5TacON0wRrlj80ilvHvI= 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 |
fs/dax: Fix ZONE_DEVICE page reference counts
|
expand
|
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index 38a5a3e..9a8a7d3 100644 --- a/fs/proc/task_mmu.c +++ b/fs/proc/task_mmu.c @@ -1378,7 +1378,7 @@ static inline bool pte_is_pinned(struct vm_area_struct *vma, unsigned long addr, if (likely(!test_bit(MMF_HAS_PINNED, &vma->vm_mm->flags))) return false; folio = vm_normal_folio(vma, addr, pte); - if (!folio) + if (!folio || folio_is_devdax(folio) || folio_is_fsdax(folio)) return false; return folio_maybe_dma_pinned(folio); }
The procfs mmu files such as smaps and pagemap currently ignore devdax and fsdax pages because these pages are considered special. A future change will start treating these as normal pages, meaning they can be exposed via smaps and pagemap. The only difference is that devdax and fsdax pages can never be pinned for DMA via FOLL_LONGTERM, so add an explicit check in pte_is_pinned() to reflect that. Signed-off-by: Alistair Popple <apopple@nvidia.com> --- Changes for v5: - After discussion with David remove the checks for DAX pages for smaps and pagemap walkers. This means DAX pages will now appear in those procfs files. --- fs/proc/task_mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)