lkml.org 
[lkml]   [2017]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v8 4/4] KVM: X86: Add flush_on_enter before guest enter
From
Date
On 13/12/2017 14:35, Peter Zijlstra wrote:
>> + if (xchg(&vcpu->arch.st.steal.preempted, KVM_VCPU_NOT_PREEMPTED) ==
>> + (KVM_VCPU_SHOULD_FLUSH | KVM_VCPU_PREEMPTED)) {
>> + /*
>> + * Do TLB_FLUSH before entering the guest, its passed
>> + * the stage of request checking
>> + */
>> + kvm_vcpu_flush_tlb(vcpu, false);
>> + }
> And not a single word, _anywhere_ on why this doesn't need
> invalidate_gpa or wtf that actually is.

FWIW I've fixed the changelogs in kvm/queue.

Paolo

\
 
 \ /
  Last update: 2017-12-13 14:37    [W:0.983 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site