Messages in this thread | | | Subject | Re: [PATCH v4 RESEND 2/5] KVM: x86: hyperv: optimize 'all cpus' case in kvm_hv_flush_tlb() | From | Paolo Bonzini <> | Date | Fri, 14 Sep 2018 19:32:36 +0200 |
| |
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
| |