]> git.baikalelectronics.ru Git - 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)
commit20423ded2c8d96af8a41b9a33d8db640f7a0b324
tree0bb56adeae33459616149940d3c65246a78e61c9
parent075116a293223fd607afd621316ed988cdf8de41
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