diff options
author | 2022-11-01 15:53:54 +0100 | |
---|---|---|
committer | 2022-11-18 12:59:09 -0500 | |
commit | b6c2c22fa7012616b3039c9f559bf01195137b9d (patch) | |
tree | bb941ad5cb4a073595553d9cf98622df00c546a5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: hyper-v: Use HV_MAX_SPARSE_VCPU_BANKS/HV_VCPUS_PER_SPARSE_BANK instead of raw '64' (diff) | |
download | wireguard-linux-b6c2c22fa7012616b3039c9f559bf01195137b9d.tar.xz wireguard-linux-b6c2c22fa7012616b3039c9f559bf01195137b9d.zip |
KVM: x86: hyper-v: Don't use sparse_set_to_vcpu_mask() in kvm_hv_send_ipi()
Get rid of on-stack allocation of vcpu_mask and optimize kvm_hv_send_ipi()
for a smaller number of vCPUs in the request. When Hyper-V TLB flush
is in use, HvSendSyntheticClusterIpi{,Ex} calls are not commonly used to
send IPIs to a large number of vCPUs (and are rarely used in general).
Introduce hv_is_vp_in_sparse_set() to directly check if the specified
VP_ID is present in sparse vCPU set.
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20221101145426.251680-17-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions