Files
linux/arch/powerpc/include/asm
Kiryl Shutsemau (Meta) c6f11553c0 mm: decouple protnone helpers from CONFIG_NUMA_BALANCING
Patch series "userfaultfd: working set tracking for VM guest memory", v10.

This series adds userfaultfd support for tracking the working set of VM
guest memory, so a VMM can identify hot pages and reclaim cold ones to
tiered or remote storage.


This patch (of 15):

pte_protnone() and pmd_protnone() detect present-but-inaccessible page
table entries.  This capability is useful beyond NUMA balancing -- for
example, userfaultfd working set tracking uses protnone PTEs to track page
access without unmapping pages.

Introduce CONFIG_ARCH_HAS_PTE_PROTNONE to decouple the protnone PTE
infrastructure from CONFIG_NUMA_BALANCING.  The six architectures that
support protnone PTEs (x86_64, arm64, powerpc, s390, riscv, loongarch) now
select this option, and CONFIG_NUMA_BALANCING depends on it.

No functional change -- the same set of architectures continues to have
working protnone support, but the infrastructure is now available
independently of NUMA balancing.

Link: https://lore.kernel.org/20260708111417.173443-1-kirill@shutemov.name
Link: https://lore.kernel.org/20260708111417.173443-2-kirill@shutemov.name
Signed-off-by: Kiryl Shutsemau (Meta) <kas@kernel.org>
Assisted-by: Claude:claude-opus-4-6
Acked-by: SeongJae Park <sj@kernel.org>
Acked-by: Mike Rapoport (Microsoft) <rppt@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
..
2025-11-21 11:21:20 +01:00
2025-09-13 16:55:07 -07:00
2025-03-16 22:04:27 +11:00
2023-10-20 23:18:07 +11:00
2023-10-20 23:18:07 +11:00
2025-03-16 22:04:27 +11:00
2026-04-01 09:21:06 +05:30
2023-12-08 12:02:37 +01:00
2023-12-08 12:02:37 +01:00
2021-03-24 14:09:29 +11:00
2025-02-26 21:15:08 +05:30
2024-06-28 22:28:48 +10:00
2026-05-20 06:57:14 +05:30
2025-09-13 16:55:07 -07:00
2024-02-15 00:14:06 +11:00
2024-05-08 00:21:30 +10:00
2025-03-16 22:04:27 +11:00
2026-05-20 06:57:14 +05:30
2018-05-25 12:04:43 +10:00
2026-05-20 06:57:14 +05:30
2018-07-30 22:48:21 +10:00
2024-10-29 23:01:52 +11:00
2024-05-08 00:21:30 +10:00
2022-07-27 21:36:05 +10:00
2022-01-30 21:17:00 -05:00