]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
KVM: MMU: don't walk every parent pages while mark unsync
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Fri, 11 Jun 2010 13:35:15 +0000 (21:35 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:46:45 +0000 (10:46 +0300)
commit1047df1fb682a41eb9885d6b3f2d04d6c8fd3756
tree0bb56adeae33459616149940d3c65246a78e61c9
parent7a8f1a74e4193d21e55b35928197486f2c047efb
KVM: MMU: don't walk every parent pages while mark unsync

While we mark the parent's unsync_child_bitmap, if the parent is already
unsynced, it no need walk it's parent, it can reduce some unnecessary
workload

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/mmu.c