lkml.org 
[lkml]   [2018]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v4 RESEND 2/5] KVM: x86: hyperv: optimize 'all cpus' case in kvm_hv_flush_tlb()
From
Date
On 22/08/2018 12:18, Vitaly Kuznetsov wrote:
> cpumask_clear(&hv_current->tlb_lush);
>
> + if (all_cpus) {
> + kvm_make_vcpus_request_mask(kvm,
> + KVM_REQ_TLB_FLUSH | KVM_REQUEST_NO_WAKEUP,
> + NULL, &hv_current->tlb_lush);
> + goto ret_success;
> + }
> +


The cpumask_clear can be pushed below the if. Queued with that change.

Paolo

\
 
 \ /
  Last update: 2018-09-14 19:33    [W:0.119 / U:3.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site