KVM: MMU: clear unsync_child_bitmap completely
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Fri, 11 Jun 2010 13:34:04 +0000 (21:34 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:46:44 +0000 (10:46 +0300)
commit7a8f1a74e4193d21e55b35928197486f2c047efb
tree53895b4e086b1acba775ad1f36cbd73b0c7e1901
parentebdea638df04ae6293a9a5414d98ad843c69e82f
KVM: MMU: clear unsync_child_bitmap completely

In current code, some page's unsync_child_bitmap is not cleared completely
in mmu_sync_children(), for example, if two PDPEs shard one PDT, one of
PDPE's unsync_child_bitmap is not cleared.

Currently, it not harm anything just little overload, but it's the prepare
work for the later patch

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