summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJim Mattson <jmattson@google.com>2022-01-15 06:24:26 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2022-01-19 18:11:26 +0100
commit7ff775aca48adc854436b92c060e5eebfffb6a4a (patch)
treeca61838cba2eef7e4d3ddeb5b6bf9b5cc29bed01 /tools
parentkvm: selftests: conditionally build vm_xsave_req_perm() (diff)
downloadlinux-7ff775aca48adc854436b92c060e5eebfffb6a4a.tar.xz
linux-7ff775aca48adc854436b92c060e5eebfffb6a4a.zip
KVM: x86/pmu: Use binary search to check filtered events
The PMU event filter may contain up to 300 events. Replace the linear search in reprogram_gp_counter() with a binary search. Signed-off-by: Jim Mattson <jmattson@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20220115052431.447232-2-jmattson@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions