]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: fix kvm_mmu_zap_page() and its calling path
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Fri, 16 Apr 2010 08:34:42 +0000 (16:34 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 20 Apr 2010 09:59:32 +0000 (12:59 +0300)
commit53a1b02a961831ed868587c85e427a03e7181b5d
tree71968f26c85d7bcbd5d9edfe6fd118b58fe51c99
parent335b7df4a47460f7ea20b6e08a7cd539d836e7aa
KVM: MMU: fix kvm_mmu_zap_page() and its calling path

This patch fix:

- calculate zapped page number properly in mmu_zap_unsync_children()
- calculate freeed page number properly kvm_mmu_change_mmu_pages()
- if zapped children page it shoud restart hlist walking

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