commit | 46971a2f59f135341f8912f516540fef6890d4df | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <guangrong.xiao@linux.intel.com> | Fri Mar 25 21:19:38 2016 +0800 |
committer | Radim Krčmář <rkrcmar@redhat.com> | Wed Apr 20 15:29:17 2016 +0200 |
tree | a2489ff7acf6068bfcb1df35c16873b6abe8d840 | |
parent | c54cdf141c40a5115774e91fc947c34e91df0259 [diff] |
KVM: MMU: skip obsolete sp in for_each_gfn_*() The obsolete sp should not be used on current vCPUs and should not hurt vCPU's running, so skip it from for_each_gfn_sp() and for_each_gfn_indirect_valid_sp() The side effort is we will double check role.invalid in kvm_mmu_get_page() but i think it is okay as role is well cached Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>