summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorFuad Tabba <tabba@google.com>2026-03-06 14:02:22 +0000
committerMarc Zyngier <maz@kernel.org>2026-03-28 11:29:40 +0000
commitbae99813c6a9ce474cbb7b6553dc6e379b2f4375 (patch)
tree18d492f804784c4844ab185d9b6921b7b14e8908 /tools/perf/scripts/python/stackcollapse.py
parent0b236c72c02df36992b7d6ff29cbe5abef973250 (diff)
KVM: arm64: Extract PFN resolution in user_mem_abort()
Extract the section of code responsible for pinning the physical page frame number (PFN) backing the faulting IPA into a new helper, kvm_s2_fault_pin_pfn(). This helper encapsulates the critical section where the mmap_read_lock is held, the VMA is looked up, the mmu invalidate sequence is sampled, and the PFN is ultimately resolved via __kvm_faultin_pfn(). It also handles the early exits for hardware poisoned pages and noslot PFNs. By isolating this region, we can begin to organize the state variables required for PFN resolution into the kvm_s2_fault struct, clearing out a significant amount of local variable clutter from user_mem_abort(). Signed-off-by: Fuad Tabba <tabba@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions