1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-14 10:32:46 +00:00
David Hildenbrand 4c89792ea0 mm: rename vm_ops->find_special_page() to vm_ops->find_normal_page()
...  and hide it behind a kconfig option.  There is really no need for any
!xen code to perform this check.

The naming is a bit off: we want to find the "normal" page when a PTE was
marked "special".  So it's really not "finding a special" page.

Improve the documentation, and add a comment in the code where XEN ends up
performing the pte_mkspecial() through a hypercall.  More details can be
found in commit 923b2919e2c3 ("xen/gntdev: mark userspace PTEs as special
on x86 PV guests").

Link: https://lkml.kernel.org/r/20250811112631.759341-12-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Reviewed-by: Wei Yang <richard.weiyang@gmail.com>
Cc: David Vrabel <david.vrabel@citrix.com>
Cc: Alistair Popple <apopple@nvidia.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Barry Song <baohua@kernel.org>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Dev Jain <dev.jain@arm.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Jann Horn <jannh@google.com>
Cc: Juegren Gross <jgross@suse.com>
Cc: Lance Yang <lance.yang@linux.dev>
Cc: Liam Howlett <liam.howlett@oracle.com>
Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
Cc: Mariano Pache <npache@redhat.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Zi Yan <ziy@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-09-13 16:54:53 -07:00
..
2025-07-29 11:13:27 -07:00
2025-08-01 12:35:12 -07:00
2025-07-30 19:26:49 -07:00
2025-07-29 16:30:38 -07:00
2025-07-29 12:15:39 -07:00
2025-08-31 08:49:55 -07:00
2025-08-29 10:05:10 +10:00
2025-08-29 07:44:14 -07:00
2025-07-30 17:14:01 -07:00
2025-08-22 17:24:48 -04:00
2025-09-13 16:54:50 -07:00
2025-07-31 13:43:02 -07:00
2025-07-28 17:16:12 -07:00
2025-08-28 17:35:51 -07:00
2025-07-29 12:15:39 -07:00
2025-08-01 12:31:50 -07:00
2025-07-28 23:21:28 -07:00
2025-08-01 15:02:25 -07:00
2025-08-01 15:02:25 -07:00
2025-08-03 20:17:34 -07:00
2025-08-20 16:37:27 +02:00
2025-08-01 11:09:27 -07:00
2025-08-21 16:28:00 -04:00
2025-08-06 15:44:25 +03:00
2025-07-29 12:15:39 -07:00
2025-08-07 07:32:50 +03:00
2025-08-09 08:15:43 +03:00
2025-07-30 19:26:49 -07:00