diff options
| author | David Matlack <[email protected]> | 2022-09-21 10:35:41 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-12-27 06:02:59 -0500 |
| commit | 897e4526e5e002818840e38d72e0585c45533fe8 (patch) | |
| tree | ad4a678f5a64fb5441972b82343b02d761ccd3f7 /tools/perf/scripts/python/flamegraph.py | |
| parent | 7bd9645348ca865408b8c50491d605da1dfa05e3 (diff) | |
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 <[email protected]>
Reviewed-by: Isaku Yamahata <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions