diff options
author | David Matlack <dmatlack@google.com> | 2022-09-21 20:35:41 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-12-29 23:33:20 +0300 |
commit | cd08d178ff45d6564e782a3d005922ed439bd77f (patch) | |
tree | affa52309c2e6969a42bb61a52ef8bad76517dc9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 56c3a4e4a2d5ef36ac12156e9d4d793e2841135c (diff) | |
download | linux-cd08d178ff45d6564e782a3d005922ed439bd77f.tar.xz |
KVM: x86/mmu: Avoid memslot lookup during KVM_PFN_ERR_HWPOISON handling
Pass the kvm_page_fault struct down to kvm_handle_error_pfn() to avoid a
memslot lookup when handling KVM_PFN_ERR_HWPOISON. Opportunistically
move the gfn_to_hva_memslot() call and @current down into
kvm_send_hwpoison_signal() to cut down on line lengths.
No functional change intended.
Signed-off-by: David Matlack <dmatlack@google.com>
Reviewed-by: Isaku Yamahata <isaku.yamahata@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220921173546.2674386-6-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions