aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/Context.c
diff options
context:
space:
mode:
authorDavid Matlack <[email protected]>2022-09-21 10:35:43 -0700
committerPaolo Bonzini <[email protected]>2022-12-29 15:33:21 -0500
commite5e6f8d254a285e97b02180fdc75d02ffdf9f0ed (patch)
tree77a043f89d5b067c491cc3711256735d1633effc /tools/perf/scripts/python/Perf-Trace-Util/Context.c
parent354c908c068ec0a21850aef5dbf6b8331434a2e9 (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/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions