Re: [PATCH -v8 0/7] directed yield for Pause Loop Exiting

2011-02-01 Thread Peter Zijlstra
On Mon, 2011-01-31 at 16:40 -0500, Rik van Riel wrote: v8: - some more changes and cleanups suggested by Peter Did you, by accident, send out the -v7 patches again? I don't think I've spotted a difference.. -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a

Re: [PATCH -v8 0/7] directed yield for Pause Loop Exiting

2011-02-01 Thread Rik van Riel
On 02/01/2011 05:53 AM, Peter Zijlstra wrote: On Mon, 2011-01-31 at 16:40 -0500, Rik van Riel wrote: v8: - some more changes and cleanups suggested by Peter Did you, by accident, send out the -v7 patches again? I don't think I've spotted a difference.. Arghhh. Yeah, I did :( -- All

[PATCH -v8 0/7] directed yield for Pause Loop Exiting

2011-01-31 Thread Rik van Riel
When running SMP virtual machines, it is possible for one VCPU to be spinning on a spinlock, while the VCPU that holds the spinlock is not currently running, because the host scheduler preempted it to run something else. Both Intel and AMD CPUs have a feature that detects when a virtual CPU is