]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: cleanup computation of MMU roles for shadow paging
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Feb 2022 12:33:26 +0000 (07:33 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 29 Apr 2022 16:49:55 +0000 (12:49 -0400)
commit2c50745e551c5415596e05448dadaf42d3ae208c
tree2b3f80de3b519e4cd336752bb789e5929bae917a
parente29de29568a67228c35f4cec5a8dfd17258c945a
KVM: x86/mmu: cleanup computation of MMU roles for shadow paging

Pass the already-computed CPU role, instead of redoing it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c