]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
KVM: Use kmalloc() instead of vmalloc() for KVM_[GS]ET_MSR
authorAvi Kivity <avi@redhat.com>
Thu, 22 Jul 2010 20:24:52 +0000 (23:24 +0300)
committerAvi Kivity <avi@redhat.com>
Fri, 23 Jul 2010 06:07:14 +0000 (09:07 +0300)
commit7a73c0283dadf1cf360a79de396ff0962e781b60
treeda5f0254f136fc3f231ee4afc236fd5fb284a4f7
parent6aa0b9dec5d6dde26ea17b0b5be8fccfe19df3c9
KVM: Use kmalloc() instead of vmalloc() for KVM_[GS]ET_MSR

We don't need more than a page, and vmalloc() is slower (much
slower recently due to a regression).

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c