diff options
author | 2013-05-31 08:36:20 +0800 | |
---|---|---|
committer | 2013-06-05 12:32:00 +0300 | |
commit | 758ccc89b83cc15d575204091c1a1fec306245cb (patch) | |
tree | af66f3ed31cf6acec53394efe4eeabca1c815312 /tools/perf/scripts/python/check-perf-trace.py | |
parent | kvm: exclude ioeventfd from counting kvm_io_range limit (diff) | |
download | linux-dev-758ccc89b83cc15d575204091c1a1fec306245cb.tar.xz linux-dev-758ccc89b83cc15d575204091c1a1fec306245cb.zip |
KVM: x86: drop calling kvm_mmu_zap_all in emulator_fix_hypercall
Quote Gleb's mail:
| Back then kvm->lock protected memslot access so code like:
|
| mutex_lock(&vcpu->kvm->lock);
| kvm_mmu_zap_all(vcpu->kvm);
| mutex_unlock(&vcpu->kvm->lock);
|
| which is what 7aa81cc0 does was enough to guaranty that no vcpu will
| run while code is patched. This is no longer the case and
| mutex_lock(&vcpu->kvm->lock); is gone from that code path long time ago,
| so now kvm_mmu_zap_all() there is useless and the code is incorrect.
So we drop it and it will be fixed later
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 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions