diff options
author | Hou Wenlong <houwenlong.hwl@antgroup.com> | 2022-10-10 15:19:14 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-01-24 21:05:46 +0300 |
commit | 1e203847aa9245bd782d6dc904ece124ca1b89cb (patch) | |
tree | c059f42c0f682ab791ffea8f4f79ce408c9dbcf2 /tools/perf/scripts/python/stackcollapse.py | |
parent | 9ffe9265375cbaf6c01647e31ae9fee8595b698c (diff) | |
download | linux-1e203847aa9245bd782d6dc904ece124ca1b89cb.tar.xz |
KVM: x86/mmu: Reduce gfn range of tlb flushing in tdp_mmu_map_handle_target_level()
Since the children SP is zapped, the gfn range of tlb flushing should be
the range covered by children SP not parent SP. Replace sp->gfn which is
the base gfn of parent SP with iter->gfn and use the correct size of gfn
range for children SP to reduce tlb flushing range.
Fixes: bb95dfb9e2df ("KVM: x86/mmu: Defer TLB flush to caller when freeing TDP MMU shadow pages")
Signed-off-by: Hou Wenlong <houwenlong.hwl@antgroup.com>
Reviewed-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/528ab9c784a486e9ce05f61462ad9260796a8732.1665214747.git.houwenlong.hwl@antgroup.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions