]> git.baikalelectronics.ru Git - 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)
commit180fcb11cea24b2937be16adc572175a3941cde0
treeda5f0254f136fc3f231ee4afc236fd5fb284a4f7
parent6e1dba6ec018e57c0e80e210c70a374c5454e4de
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