Re: [PATCH 08/11] qspinlock: Revert to test-and-set on hypervisors

2014-06-18 Thread Konrad Rzeszutek Wilk
On Sun, Jun 15, 2014 at 02:47:05PM +0200, Peter Zijlstra wrote: > When we detect a hypervisor (!paravirt, see later patches), revert to Please spell out the name of the patches. > a simple test-and-set lock to avoid the horrors of queue preemption. Heheh. > > Signed-off-by: Peter Zijlstra >

Re: [PATCH 08/11] qspinlock: Revert to test-and-set on hypervisors

2014-06-18 Thread Konrad Rzeszutek Wilk
On Sun, Jun 15, 2014 at 02:47:05PM +0200, Peter Zijlstra wrote: When we detect a hypervisor (!paravirt, see later patches), revert to Please spell out the name of the patches. a simple test-and-set lock to avoid the horrors of queue preemption. Heheh. Signed-off-by: Peter Zijlstra

Re: [PATCH 08/11] qspinlock: Revert to test-and-set on hypervisors

2014-06-16 Thread Waiman Long
On 06/15/2014 08:47 AM, Peter Zijlstra wrote: When we detect a hypervisor (!paravirt, see later patches), revert to a simple test-and-set lock to avoid the horrors of queue preemption. Signed-off-by: Peter Zijlstra --- arch/x86/include/asm/qspinlock.h | 14 ++

Re: [PATCH 08/11] qspinlock: Revert to test-and-set on hypervisors

2014-06-16 Thread Waiman Long
On 06/15/2014 08:47 AM, Peter Zijlstra wrote: When we detect a hypervisor (!paravirt, see later patches), revert to a simple test-and-set lock to avoid the horrors of queue preemption. Signed-off-by: Peter Zijlstrapet...@infradead.org --- arch/x86/include/asm/qspinlock.h | 14 ++

[PATCH 08/11] qspinlock: Revert to test-and-set on hypervisors

2014-06-15 Thread Peter Zijlstra
When we detect a hypervisor (!paravirt, see later patches), revert to a simple test-and-set lock to avoid the horrors of queue preemption. Signed-off-by: Peter Zijlstra --- arch/x86/include/asm/qspinlock.h | 14 ++ include/asm-generic/qspinlock.h |7 +++

[PATCH 08/11] qspinlock: Revert to test-and-set on hypervisors

2014-06-15 Thread Peter Zijlstra
When we detect a hypervisor (!paravirt, see later patches), revert to a simple test-and-set lock to avoid the horrors of queue preemption. Signed-off-by: Peter Zijlstra pet...@infradead.org --- arch/x86/include/asm/qspinlock.h | 14 ++ include/asm-generic/qspinlock.h |7