linux/arch/arm64
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
..
boot Renesas fixes for v7.2 2026-07-16 15:59:57 +02:00
configs soc: defconfig updates for 7.2 2026-06-17 11:26:33 -07:00
crypto Crypto library updates for 7.1 2026-04-13 17:31:39 -07:00
hyperv
include mm: rename uffd-wp PTE accessors to uffd 2026-08-04 19:18:36 -07:00
kernel arm64, mailmap: update email address for Peter Collingbourne 2026-07-28 17:37:32 -07:00
kvm KVM/arm64 fixes for 7.2, take #2 2026-07-15 12:13:30 +02:00
lib bpf-fixes 2026-04-17 15:58:22 -07:00
mm arm64: make huge_ptep_get handled unaligned addresses 2026-07-22 11:44:47 +00:00
net bpf: Restrict JIT predictor flush to cBPF 2026-07-01 10:33:38 +02:00
tools arm64/sysreg: Fix BWE field encoding in ID_AA64DFR2_EL1 2026-07-02 11:44:05 +01:00
xen
Kbuild arm64: Disable branch profiling for all arm64 code 2026-01-08 21:46:01 +00:00
Kconfig mm: decouple protnone helpers from CONFIG_NUMA_BALANCING 2026-08-04 19:18:36 -07:00
Kconfig.debug
Kconfig.platforms soc: arm code changes for 7.2 2026-06-17 11:28:10 -07:00
Makefile rust: arm64: set uwtable llvm module flag for CONFIG_UNWIND_TABLES 2026-05-30 09:25:22 +02:00