diff options
| author | David Matlack <[email protected]> | 2022-09-21 10:35:43 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-12-27 06:02:59 -0500 |
| commit | 2d75ce03005dfaf29b52ea885ddd960ba5c1d8c2 (patch) | |
| tree | 00105fa9bc01c6a677b8fc5aebf5b0a65012a860 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | f09948ec1ff3063b0722ef15195da3beca2d57c6 (diff) | |
KVM: x86/mmu: Initialize fault.{gfn,slot} earlier for direct MMUs
Move the initialization of fault.{gfn,slot} earlier in the page fault
handling code for fully direct MMUs. This will enable a future commit to
split out TDP MMU page fault handling without needing to duplicate the
initialization of these 2 fields.
Opportunistically take advantage of the fact that fault.gfn is
initialized in kvm_tdp_page_fault() rather than recomputing it from
fault->addr.
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions