Re: [PATCH v2 2/4] KVM: x86: hyper-v: Prevent using not-yet-updated TSC page by secondary CPUs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 18, 2021 at 07:05:49PM +0100, Paolo Bonzini wrote:
> On 18/03/21 19:04, Marcelo Tosatti wrote:
> > > 
> > > Not clear why this is necessary, if the choice was to not touch TSC page
> > > at all, when invariant TSC is supported on the host...
> > 	
> > 	s/invariant TSC/TSC scaling/
> > 
> > > Ah, OK, this is not for the migration with iTSC on destination case,
> > > but any call to kvm_gen_update_masterclock, correct?
> 
> Yes, any update can be racy.
> 
> Paolo

Which makes an unrelated KVM_REQ_MASTERCLOCK_UPDATE -> kvm_gen_update_masterclock 
sequence to inadvertedly reduce performance a possibility, unless i am
missing something.

Ah, OK, it should be enabled again at KVM_REQ_CLOCK_UPDATE.

Nevermind, then.




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux