diff options
| author | Paolo Bonzini <[email protected]> | 2021-11-22 13:18:23 -0500 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-02-25 08:20:18 -0500 |
| commit | d2e5f3334169ab1bbbf13902e9fc8ef605ba824d (patch) | |
| tree | 96d174f7cd4e62b4a6dafe1f4ca6915d291d8657 /scripts/gdb/linux | |
| parent | 3cffc89d9d0795a74ee1b1027bba2f6099b51c33 (diff) | |
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 <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions