Re: A problem about optimize the kvm_vcpu_on_spin

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

 



> Intel sdm vol3 ch-25.1.3 (p-1074) said: The “PAUSE-loop exiting” VM-execution
> control is ignored if CPL > 0.
> 
> Does this means that only guest's kernelspace spinlock could causes VMexit
> due to "pause-loop exiting" ?
> 
> If so, I think the kvm_vcpu_on_spin should selects a (currently not
> running) vcpu which cpl=0 to boost, because the cpl>0 vcpus are not
> the lock-holder. (suppose the guest isn't RT-linux)
> 
> What about your opinion ?

Yes, that's a good idea!

Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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