aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2023-04-05 00:31:33 +0000
committerSean Christopherson <[email protected]>2023-04-10 22:17:29 +0000
commit9ed3bf411226f446a9795f2b49a15b9df98d7cf5 (patch)
treedfbe8e6c2ec072d9d97120f4c79d18074b37e110 /tools/perf/util/trace-event-scripting.c
parentKVM: x86: Rename Hyper-V remote TLB hooks to match established scheme (diff)
downloadkernel-9ed3bf411226f446a9795f2b49a15b9df98d7cf5.tar.gz
kernel-9ed3bf411226f446a9795f2b49a15b9df98d7cf5.zip
KVM: x86/mmu: Move filling of Hyper-V's TLB range struct into Hyper-V code
Refactor Hyper-V's range-based TLB flushing API to take a gfn+nr_pages pair instead of a struct, and bury said struct in Hyper-V specific code. Passing along two params generates much better code for the common case where KVM is _not_ running on Hyper-V, as forwarding the flush on to Hyper-V's hv_flush_remote_tlbs_range() from kvm_flush_remote_tlbs_range() becomes a tail call. Cc: David Matlack <[email protected]> Reviewed-by: David Matlack <[email protected]> Reviewed-by: Vitaly Kuznetsov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions