diff options
| author | Sean Christopherson <seanjc@google.com> | 2021-01-22 16:03:33 -0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-02-04 05:27:14 -0500 |
| commit | 19979fba9bfaeab427a8e106d915f0627c952828 (patch) | |
| tree | ba9d5e71cd817995b416b72a40a594490bc97e69 /tools/perf/scripts/python | |
| parent | KVM: do not assume PTE is writable after follow_pfn (diff) | |
| download | linux-19979fba9bfaeab427a8e106d915f0627c952828.tar.gz linux-19979fba9bfaeab427a8e106d915f0627c952828.zip | |
KVM: x86: Remove obsolete disabling of page faults in kvm_arch_vcpu_put()
Remove the disabling of page faults across kvm_steal_time_set_preempted()
as KVM now accesses the steal time struct (shared with the guest) via a
cached mapping (see commit b043138246a4, "x86/KVM: Make sure
KVM_VCPU_FLUSH_TLB flag is not missed".) The cache lookup is flagged as
atomic, thus it would be a bug if KVM tried to resolve a new pfn, i.e.
we want the splat that would be reached via might_fault().
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210123000334.3123628-2-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
