summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-08-31 03:15:27 +0300
committerSean Christopherson <seanjc@google.com>2024-09-10 06:16:27 +0300
commitb7e948898e772ac900950c0dac4ca90e905cd0c0 (patch)
tree1315855354876cb2a77c1f128b9aabcc21032a23 /scripts/gdb/linux/utils.py
parent2df354e37c1398a85bb43cbbf1f913eb3f91d035 (diff)
downloadlinux-b7e948898e772ac900950c0dac4ca90e905cd0c0.tar.xz
KVM: x86/mmu: Don't try to unprotect an INVALID_GPA
If getting the gpa for a gva fails, e.g. because the gva isn't mapped in the guest page tables, don't try to unprotect the invalid gfn. This is mostly a performance fix (avoids unnecessarily taking mmu_lock), as for_each_gfn_valid_sp_with_gptes() won't explode on garbage input, it's simply pointless. Link: https://lore.kernel.org/r/20240831001538.336683-13-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions