aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2023-01-06 01:12:50 +0000
committerPaolo Bonzini <[email protected]>2023-01-13 10:45:28 -0500
commit6ea567ca003ab05adef28459bde1495a250dd7b7 (patch)
treebb4719a5ab3d22a39e26b70614bec6cff13f4bd7 /tools/perf/scripts/python/stackcollapse.py
parent1d22a597b3e9fd4d0a7e921ce4d32321bcad8576 (diff)
KVM: x86: Explicitly skip optimized logical map setup if vCPU's LDR==0
Explicitly skip the optimized map setup if the vCPU's LDR is '0', i.e. if the vCPU will never respond to logical mode interrupts. KVM already skips setup in this case, but relies on kvm_apic_map_get_logical_dest() to generate mask==0. KVM still needs the mask=0 check as a non-zero LDR can yield mask==0 depending on the mode, but explicitly handling the LDR will make it simpler to clean up the logical mode tracking in the future. No functional change intended. Reviewed-by: Maxim Levitsky <[email protected]> Signed-off-by: Sean Christopherson <[email protected]> Message-Id: <[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