On 2016/11/14 16:56, Paolo Bonzini wrote: > >> 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 Thanks, I will send a RFC this week. > > . > -- Regards, Longpeng(Mike) -- 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