1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-14 02:25:42 +00:00
Alistair Popple fd2825b076 mm/gup: remove pXX_devmap usage from get_user_pages()
GUP uses pXX_devmap() calls to see if it needs to a get a reference on the
associated pgmap data structure to ensure the pages won't go away. 
However it's a driver responsibility to ensure that if pages are mapped
(ie.  discoverable by GUP) that they are not offlined or removed from the
memmap so there is no need to hold a reference on the pgmap data structure
to ensure this.

Furthermore mappings with PFN_DEV are no longer created, hence this
effectively dead code anyway so can be removed.

Link: https://lkml.kernel.org/r/708b2be76876659ec5261fe5d059b07268b98b36.1750323463.git-series.apopple@nvidia.com
Signed-off-by: Alistair Popple <apopple@nvidia.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Cc: Balbir Singh <balbirs@nvidia.com>
Cc: Björn Töpel <bjorn@kernel.org>
Cc: Björn Töpel <bjorn@rivosinc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Chunyan Zhang <zhang.lyra@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Deepak Gupta <debug@rivosinc.com>
Cc: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
Cc: Inki Dae <m.szyprowski@samsung.com>
Cc: John Groves <john@groves.net>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-07-09 22:42:16 -07:00
..
2025-05-09 23:09:01 +02:00
2025-05-27 15:22:01 -07:00
2025-05-11 17:54:10 -07:00
2025-06-05 08:49:30 -07:00
2025-06-05 08:07:24 -07:00
2025-06-03 16:13:32 -07:00
2025-06-03 08:39:20 -07:00
2025-04-21 10:27:59 +02:00
2025-04-29 15:58:38 -04:00
2025-04-29 15:58:38 -04:00
2025-04-29 15:58:38 -04:00
2025-05-28 15:52:42 -07:00
2025-05-19 08:17:08 -07:00
2025-04-17 10:50:55 -07:00
2025-05-27 20:59:53 -07:00
2025-05-21 13:41:03 +02:00
2025-05-21 13:39:45 +02:00
2025-06-03 07:39:23 -07:00
2025-05-28 15:24:36 -07:00
2025-05-26 08:02:43 -07:00
2025-04-11 18:58:10 -07:00
2025-05-28 15:52:42 -07:00
2025-05-20 05:34:27 +02:00
2025-04-17 10:56:11 +02:00
2025-05-15 20:24:40 +02:00
\n
2025-05-29 10:34:26 -07:00
2025-07-09 22:42:09 -07:00
2025-06-03 08:39:20 -07:00
2025-05-22 11:07:05 +02:00
2025-06-17 14:29:19 +02:00
2025-05-30 10:44:20 -07:00
2025-05-27 08:00:46 -07:00
2025-06-11 11:57:14 -07:00
2025-05-11 17:48:29 -07:00
2025-07-09 22:41:56 -07:00
2025-05-26 08:02:43 -07:00
2025-05-28 15:24:36 -07:00
2025-06-04 09:51:10 +02:00
2025-06-02 15:31:05 -07:00
2025-05-22 20:30:34 +02:00
2025-06-04 11:26:17 -07:00
2025-05-21 16:46:37 +02:00
2025-04-26 08:28:03 +02:00
2025-05-02 11:03:18 +05:30
2025-06-04 11:26:17 -07:00
2025-05-03 12:02:04 +02:00
2025-05-11 17:54:09 -07:00
2025-05-06 11:11:45 -06:00
2025-04-25 15:53:59 +02:00
2025-04-10 18:34:05 -07:00
2025-06-03 07:39:23 -07:00
2025-05-15 04:49:15 +03:00
2025-06-19 12:36:19 +02:00
2025-04-18 10:05:49 -04:00
2025-05-28 14:55:35 -07:00
2025-05-27 20:49:06 -07:00