aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorChao Peng <[email protected]>2023-10-27 11:21:45 -0700
committerPaolo Bonzini <[email protected]>2023-11-13 05:28:53 -0500
commit8569992d64b8f750e34b7858eac5d7daaf0f80fd (patch)
treed1a199d1f7f70e9cdf08e93b9a151113be35a1e8 /tools/perf/scripts/python/stackcollapse.py
parentc0db19232c1ed6bd7fcb825c28b014c52732c19e (diff)
KVM: Use gfn instead of hva for mmu_notifier_retry
Currently in mmu_notifier invalidate path, hva range is recorded and then checked against by mmu_invalidate_retry_hva() in the page fault handling path. However, for the soon-to-be-introduced private memory, a page fault may not have a hva associated, checking gfn(gpa) makes more sense. For existing hva based shared memory, gfn is expected to also work. The only downside is when aliasing multiple gfns to a single hva, the current algorithm of checking multiple ranges could result in a much larger range being rejected. Such aliasing should be uncommon, so the impact is expected small. Suggested-by: Sean Christopherson <[email protected]> Cc: Xu Yilun <[email protected]> Signed-off-by: Chao Peng <[email protected]> Reviewed-by: Fuad Tabba <[email protected]> Tested-by: Fuad Tabba <[email protected]> [sean: convert vmx_set_apic_access_page_addr() to gfn-based API] Signed-off-by: Sean Christopherson <[email protected]> Reviewed-by: Paolo Bonzini <[email protected]> Reviewed-by: Xu Yilun <[email protected]> Message-Id: <[email protected]> Reviewed-by: Kai Huang <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions