Re: [PATCH] KVM:VMX: Add support for Pause-Loop Exiting

2009-07-07 Thread Avi Kivity
On 07/08/2009 06:32 AM, Zhai, Edwin wrote: /* + * Indicate a busy-waiting vcpu in spinlock. We do not enable the PAUSE + * exiting, so only get here on cpu with PAUSE-Loop-Exiting. + */ +static int handle_pause(struct kvm_vcpu *vcpu, + struct kvm_run *kvm_run) +{

[PATCH] KVM:VMX: Add support for Pause-Loop Exiting

2009-07-07 Thread Zhai, Edwin
KVM:VMX: Add support for Pause-Loop Exiting New NHM processors will support Pause-Loop Exiting by adding 2 VM-execution control fields: PLE_Gap- upper bound on the amount of time between two successive executions of PAUSE in a loop. PLE_Window - upper bound on the amount of time a