Re: [PATCH 0/2] locking/mutex: Enable optimistic spinning of lock waiter

2016-02-12 Thread Waiman Long
On 02/09/2016 04:44 PM, Jason Low wrote: On Tue, 2016-02-09 at 14:47 -0500, Waiman Long wrote: This patchset is a variant of PeterZ's "locking/mutex: Avoid spinner vs waiter starvation" patch. The major difference is that the waiter-spinner won't enter into the OSQ used by the spinners. Instead,

Re: [PATCH 0/2] locking/mutex: Enable optimistic spinning of lock waiter

2016-02-09 Thread Jason Low
On Tue, 2016-02-09 at 14:47 -0500, Waiman Long wrote: > This patchset is a variant of PeterZ's "locking/mutex: Avoid spinner > vs waiter starvation" patch. The major difference is that the > waiter-spinner won't enter into the OSQ used by the spinners. Instead, > it will spin directly on the lock i

[PATCH 0/2] locking/mutex: Enable optimistic spinning of lock waiter

2016-02-09 Thread Waiman Long
This patchset is a variant of PeterZ's "locking/mutex: Avoid spinner vs waiter starvation" patch. The major difference is that the waiter-spinner won't enter into the OSQ used by the spinners. Instead, it will spin directly on the lock in parallel with the queue head of the OSQ. So there will be a