Re: [PATCH v5 7/8] KVM: Pre-allocate cpumasks for kvm_make_all_cpus_request_except()
From: Sean Christopherson <seanjc@google.com>
Date: 2021-09-03 16:25:05
Also in:
lkml
From: Sean Christopherson <seanjc@google.com>
Date: 2021-09-03 16:25:05
Also in:
lkml
On Fri, Sep 03, 2021, Vitaly Kuznetsov wrote:
Allocating cpumask dynamically in zalloc_cpumask_var() is not ideal. Allocation is somewhat slow and can (in theory and when CPUMASK_OFFSTACK) fail. kvm_make_all_cpus_request_except() already disables preemption so we can use pre-allocated per-cpu cpumasks instead. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> ---
Reviewed-by: Sean Christopherson <seanjc@google.com>