]> 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)
commit597399b064dc688c053d7a0fa6592234756313cf
tree2b3f80de3b519e4cd336752bb789e5929bae917a
parenta3aaa653136d1d2b9e1857e85f7891e15960fad4
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