diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2021-11-22 13:18:23 -0500 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-02-25 08:20:18 -0500 |
| commit | d2e5f3334169ab1bbbf13902e9fc8ef605ba824d (patch) | |
| tree | 96d174f7cd4e62b4a6dafe1f4ca6915d291d8657 /tools/perf/scripts/python/flamegraph.py | |
| parent | KVM: x86/mmu: load new PGD after the shadow MMU is initialized (diff) | |
| download | linux-d2e5f3334169ab1bbbf13902e9fc8ef605ba824d.tar.gz linux-d2e5f3334169ab1bbbf13902e9fc8ef605ba824d.zip | |
KVM: x86/mmu: Always use current mmu's role when loading new PGD
Since the guest PGD is now loaded after the MMU has been set up
completely, the desired role for a cache hit is simply the current
mmu_role. There is no need to compute it again, so __kvm_mmu_new_pgd
can be folded in kvm_mmu_new_pgd.
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
