Re: [PATCH 5/7] locking/pvqspinlock: Add pending bit support

2015-07-14 Thread Waiman Long
On 07/12/2015 04:21 AM, Peter Zijlstra wrote: On Sat, Jul 11, 2015 at 04:36:56PM -0400, Waiman Long wrote: Like the native qspinlock, using the pending bit when it is lightly loaded to acquire the lock is faster than going through the PV queuing process which is even slower than the native queui

Re: [PATCH 5/7] locking/pvqspinlock: Add pending bit support

2015-07-12 Thread Peter Zijlstra
On Sat, Jul 11, 2015 at 04:36:56PM -0400, Waiman Long wrote: > Like the native qspinlock, using the pending bit when it is lightly > loaded to acquire the lock is faster than going through the PV queuing > process which is even slower than the native queuing process. It also > avoids loading two ad