diff options
author | Jim Mattson <[email protected]> | 2022-01-14 21:24:26 -0800 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2022-01-19 12:11:26 -0500 |
commit | 7ff775aca48adc854436b92c060e5eebfffb6a4a (patch) | |
tree | ca61838cba2eef7e4d3ddeb5b6bf9b5cc29bed01 /lib/mpi/mpi-sub-ui.c | |
parent | 1a1d1dbce6d5477e2bb08ce1ef0d77caa838cc8e (diff) |
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 <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions