Gleb Natapov 05988d728d KVM: MMU: reduce KVM_REQ_MMU_RELOAD when root page is zapped
Quote Gleb's mail:
| why don't we check for sp->role.invalid in
| kvm_mmu_prepare_zap_page before calling kvm_reload_remote_mmus()?

and

| Actually we can add check for is_obsolete_sp() there too since
| kvm_mmu_invalidate_all_pages() already calls kvm_reload_remote_mmus()
| after incrementing mmu_valid_gen.

[ Xiao: add some comments and the check of is_obsolete_sp() ]

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
2013-06-05 12:34:02 +03:00
..
2013-05-09 09:59:16 -07:00
2013-05-10 07:24:14 -07:00
2013-05-09 09:59:16 -07:00
2013-05-10 07:21:16 -07:00
2013-05-09 09:59:16 -07:00
2013-05-09 09:59:16 -07:00
2013-06-03 13:55:10 +03:00
2013-05-09 09:59:16 -07:00
2013-05-09 14:38:16 -07:00