diff options
author | Xiao Guangrong <guangrong.xiao@linux.intel.com> | 2016-03-25 21:19:38 +0800 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2016-04-20 15:29:17 +0200 |
commit | 46971a2f59f135341f8912f516540fef6890d4df (patch) | |
tree | a2489ff7acf6068bfcb1df35c16873b6abe8d840 /include/linux/kvm_host.h | |
parent | c54cdf141c40a5115774e91fc947c34e91df0259 (diff) | |
download | op-kernel-dev-46971a2f59f135341f8912f516540fef6890d4df.zip op-kernel-dev-46971a2f59f135341f8912f516540fef6890d4df.tar.gz |
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>
Diffstat (limited to 'include/linux/kvm_host.h')
0 files changed, 0 insertions, 0 deletions