summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2013-05-31 08:36:30 +0800
committerGleb Natapov <gleb@redhat.com>2013-06-05 12:34:02 +0300
commit05988d728dcd962d50374e4e63171324163005b6 (patch)
treed9839cdbd1514e367d5d6e073d8b80c25f87fc0c /net
parent365c886860c4ba670d245e762b23987c912c129a (diff)
downloadlinux-05988d728dcd962d50374e4e63171324163005b6.tar.gz
linux-05988d728dcd962d50374e4e63171324163005b6.tar.bz2
linux-05988d728dcd962d50374e4e63171324163005b6.zip
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions