]> 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)
commit7ead59ce474f65c98f42c6529319b786899965f8
tree5545eae36b3bcf618db7a5e45269b70e16460b7b
parentf4c8e3b3fb2edaba45592023cbcf5013dffdbf22
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