]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Consolidate "page" variant of memory cache helpers
authorSean Christopherson <sean.j.christopherson@intel.com>
Fri, 3 Jul 2020 02:35:26 +0000 (19:35 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Jul 2020 17:29:37 +0000 (13:29 -0400)
commit2b1cf772542b72eb678de2fa25226de2237a808a
tree85ae16a9a546a4e875f42bd2993b64ce4ad65838
parentc15084af60b276687674961efd5ac45441ef08e7
KVM: x86/mmu: Consolidate "page" variant of memory cache helpers

Drop the "page" variants of the topup/free memory cache helpers, using
the existence of an associated kmem_cache to select the correct alloc
or free routine.

No functional change intended.

Reviewed-by: Ben Gardon <bgardon@google.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200703023545.8771-3-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c