linux/arch/s390
Kiryl Shutsemau (Meta) c0ffe79eed mm: rename uffd-wp PTE accessors to uffd
Userfaultfd RWP will reuse the uffd-wp PTE bit to mark access-tracking
PTEs, alongside the write-protected ones it already marks.  The bit's
meaning now depends on the VMA flag (WP or RWP), not on its name.

Rename the kernel-internal names that describe the bit:

  - pte/pmd/huge_pte accessors (and swap variants)
  - pgtable_supports_uffd() capability query
  - SCAN_PTE_UFFD khugepaged enum

The ftrace string emitted by mm_khugepaged_scan_pmd for this enum is
kept as "pte_uffd_wp" so existing trace-based tooling keeps matching.

Pure mechanical rename -- no behavior change.

Link: https://lore.kernel.org/20260708111417.173443-4-kirill@shutemov.name
Signed-off-by: Kiryl Shutsemau <kas@kernel.org>
Assisted-by: Claude:claude-opus-4-6
Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Reviewed-by: SeongJae Park <sj@kernel.org>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: David Hildenbrand <david@kernel.org>
Cc: James Houghton <jthoughton@google.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Liam Howlett <liam@infradead.org>
Cc: Lorenzo Stoakes <ljs@kernel.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Sean Christopherson <seanjc@google.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@kernel.org>
Cc: Zi Yan <ziy@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2026-08-04 19:18:36 -07:00
..
appldata s390/appldata: Remove unused appldata_sysctl_header variable 2026-05-26 08:15:39 +02:00
boot s390/mm: Complete ptep_get() conversion 2026-06-16 17:30:31 +02:00
configs tls: remove tls_toe and the related driver 2026-06-12 16:43:10 -07:00
crypto crypto: s390 - add select CRYPTO_AEAD for aes 2026-05-29 14:04:03 +08:00
hypfs Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
include mm: rename uffd-wp PTE accessors to uffd 2026-08-04 19:18:36 -07:00
kernel Lots of fixes, double the count even for the "new normal". 2026-07-23 12:58:08 -07:00
kvm KVM: s390: pci: Fix handling of AIF enable without AISB 2026-07-09 16:23:10 +02:00
lib s390/checksum: Fix csum_partial() without vector facility 2026-07-15 17:35:42 +02:00
mm s390/mm: Fix type mismatch in get_align_mask(). 2026-07-08 17:02:47 +02:00
net bpf: Add struct bpf_tramp_node object 2026-06-07 10:03:01 -07:00
pci s390 updates for 7.1 merge window 2026-04-22 11:13:45 -07:00
purgatory s390/string: Convert memset(16|32|64)() to C 2026-06-10 16:55:21 +02:00
tools s390: Add Dat-Enhancement facility 1 to architecture level set 2025-11-06 14:12:30 +01:00
Kbuild - An extensive rework of kexec and crash Kconfig from Eric DeVolder 2023-08-29 14:53:51 -07:00
Kconfig mm: decouple protnone helpers from CONFIG_NUMA_BALANCING 2026-08-04 19:18:36 -07:00
Kconfig.debug s390/mm: Add configurable STRICT_MM_TYPECHECKS 2025-03-11 15:27:34 +01:00
Makefile s390: Enable Rust support 2026-06-10 16:25:13 +02:00
Makefile.postlink kbuild: Create intermediate vmlinux build with relocations preserved 2025-03-17 00:29:50 +09:00