Re: [Xen-devel] [PATCH RFC v5 7/8] pvqspinlock, x86: Add qspinlock para-virtualization support

2014-03-03 Thread David Vrabel
On 27/02/14 15:50, Paolo Bonzini wrote: Il 27/02/2014 16:22, Raghavendra K T ha scritto: On 02/27/2014 08:15 PM, Paolo Bonzini wrote: [...] But neither of the VCPUs being kicked here are halted -- they're either running or runnable (descheduled by the hypervisor). /me actually looks at

Re: [PATCH RFC v5 7/8] pvqspinlock, x86: Add qspinlock para-virtualization support

2014-02-28 Thread Konrad Rzeszutek Wilk
On Wed, Feb 26, 2014 at 10:14:27AM -0500, Waiman Long wrote: This patch adds para-virtualization support to the queue spinlock code by enabling the queue head to kick the lock holder CPU, if known, in when the lock isn't released for a certain amount of time. It ^^ - ? also enables the

Re: [PATCH RFC v5 7/8] pvqspinlock, x86: Add qspinlock para-virtualization support

2014-02-27 Thread David Vrabel
On 26/02/14 15:14, Waiman Long wrote: This patch adds para-virtualization support to the queue spinlock code by enabling the queue head to kick the lock holder CPU, if known, in when the lock isn't released for a certain amount of time. It also enables the mutual monitoring of the queue head

Re: [PATCH RFC v5 7/8] pvqspinlock, x86: Add qspinlock para-virtualization support

2014-02-27 Thread Paolo Bonzini
Il 27/02/2014 13:11, David Vrabel ha scritto: This patch adds para-virtualization support to the queue spinlock code by enabling the queue head to kick the lock holder CPU, if known, in when the lock isn't released for a certain amount of time. It also enables the mutual monitoring of the

Re: [PATCH RFC v5 7/8] pvqspinlock, x86: Add qspinlock para-virtualization support

2014-02-27 Thread David Vrabel
On 27/02/14 13:11, Paolo Bonzini wrote: Il 27/02/2014 13:11, David Vrabel ha scritto: This patch adds para-virtualization support to the queue spinlock code by enabling the queue head to kick the lock holder CPU, if known, in when the lock isn't released for a certain amount of time. It

Re: [PATCH RFC v5 7/8] pvqspinlock, x86: Add qspinlock para-virtualization support

2014-02-27 Thread Paolo Bonzini
Il 27/02/2014 15:18, David Vrabel ha scritto: On 27/02/14 13:11, Paolo Bonzini wrote: Il 27/02/2014 13:11, David Vrabel ha scritto: This patch adds para-virtualization support to the queue spinlock code by enabling the queue head to kick the lock holder CPU, if known, in when the lock isn't

Re: [PATCH RFC v5 7/8] pvqspinlock, x86: Add qspinlock para-virtualization support

2014-02-27 Thread Raghavendra K T
On 02/27/2014 08:15 PM, Paolo Bonzini wrote: [...] But neither of the VCPUs being kicked here are halted -- they're either running or runnable (descheduled by the hypervisor). /me actually looks at Waiman's code... Right, this is really different from pvticketlocks, where the *unlock*

Re: [PATCH RFC v5 7/8] pvqspinlock, x86: Add qspinlock para-virtualization support

2014-02-27 Thread Paolo Bonzini
Il 27/02/2014 16:22, Raghavendra K T ha scritto: On 02/27/2014 08:15 PM, Paolo Bonzini wrote: [...] But neither of the VCPUs being kicked here are halted -- they're either running or runnable (descheduled by the hypervisor). /me actually looks at Waiman's code... Right, this is really

Re: [PATCH RFC v5 7/8] pvqspinlock, x86: Add qspinlock para-virtualization support

2014-02-27 Thread Waiman Long
On 02/27/2014 09:45 AM, Paolo Bonzini wrote: Il 27/02/2014 15:18, David Vrabel ha scritto: On 27/02/14 13:11, Paolo Bonzini wrote: Il 27/02/2014 13:11, David Vrabel ha scritto: This patch adds para-virtualization support to the queue spinlock code by enabling the queue head to kick the lock

Re: [PATCH RFC v5 7/8] pvqspinlock, x86: Add qspinlock para-virtualization support

2014-02-27 Thread Waiman Long
On 02/27/2014 10:22 AM, Raghavendra K T wrote: On 02/27/2014 08:15 PM, Paolo Bonzini wrote: [...] But neither of the VCPUs being kicked here are halted -- they're either running or runnable (descheduled by the hypervisor). /me actually looks at Waiman's code... Right, this is really

[PATCH RFC v5 7/8] pvqspinlock, x86: Add qspinlock para-virtualization support

2014-02-26 Thread Waiman Long
This patch adds para-virtualization support to the queue spinlock code by enabling the queue head to kick the lock holder CPU, if known, in when the lock isn't released for a certain amount of time. It also enables the mutual monitoring of the queue head CPU and the following node CPU in the queue

[PATCH RFC v5 7/8] pvqspinlock, x86: Add qspinlock para-virtualization support

2014-02-26 Thread Waiman Long
This patch adds para-virtualization support to the queue spinlock code by enabling the queue head to kick the lock holder CPU, if known, in when the lock isn't released for a certain amount of time. It also enables the mutual monitoring of the queue head CPU and the following node CPU in the queue