summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDavid Matlack <dmatlack@google.com>2022-09-21 20:35:39 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2022-12-27 14:02:58 +0300
commit90c54c19f8021d9d284055dc246d605b559cdc22 (patch)
treee9761ee62a07fe8084056280a2f8fe26c7d1f583 /tools/perf/scripts/python/stackcollapse.py
parent991c8047b740f192a057d5f22df2f91f087cdb72 (diff)
downloadlinux-90c54c19f8021d9d284055dc246d605b559cdc22.tar.xz
KVM: x86/mmu: Grab mmu_invalidate_seq in kvm_faultin_pfn()
Grab mmu_invalidate_seq in kvm_faultin_pfn() and stash it in struct kvm_page_fault. The eliminates duplicate code and reduces the amount of parameters needed for is_page_fault_stale(). Preemptively split out __kvm_faultin_pfn() to a separate function for use in subsequent commits. No functional change intended. Signed-off-by: David Matlack <dmatlack@google.com> Reviewed-by: Isaku Yamahata <isaku.yamahata@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20220921173546.2674386-4-dmatlack@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions