]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
KVM: MMU: move mmu pages calculated out of mmu lock
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Fri, 4 Mar 2011 10:59:21 +0000 (18:59 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 17 Mar 2011 16:08:32 +0000 (13:08 -0300)
commit48c0e4e9067eb085e7b300628c9640df071aac55
tree27cf74fd8a321df3be33954446236576b3b5b0a7
parent1b7fd45c32fcc170246bf10ba8d33871840319b8
KVM: MMU: move mmu pages calculated out of mmu lock

kvm_mmu_calculate_mmu_pages need to walk all memslots and it's protected by
kvm->slots_lock, so move it out of mmu spinlock

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c