commit | 48c0e4e9067eb085e7b300628c9640df071aac55 | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | Fri Mar 04 18:59:21 2011 +0800 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Thu Mar 17 13:08:32 2011 -0300 |
tree | 27cf74fd8a321df3be33954446236576b3b5b0a7 | |
parent | 1b7fd45c32fcc170246bf10ba8d33871840319b8 [diff] |
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>