]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MIPS: Use kvm_vcpu_cache to allocate vCPUs
authorSean Christopherson <sean.j.christopherson@intel.com>
Wed, 18 Dec 2019 21:55:01 +0000 (13:55 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jan 2020 08:19:01 +0000 (09:19 +0100)
commitf10b73874ba67e112bbf014c3042157db3014ccc
tree5545eae36b3bcf618db7a5e45269b70e16460b7b
parent5451ee1a37b58484d014d67d1bfe7a21679e53fd
KVM: MIPS: Use kvm_vcpu_cache to allocate vCPUs

For reasons unknown, MIPS configures the vCPU allocation cache but
allocates vCPUs via kzalloc().  Allocate from the vCPU cache in
preparation for moving vCPU allocation to common KVM code.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/mips.c