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

2016-07-18 Thread Waiman Long
On 07/18/2016 01:59 PM, Jason Low wrote: On Tue, 2016-03-22 at 13:46 -0400, Waiman Long wrote: v2->v3: - Remove patch 4 as it is not useful. - Allow need_resched() check for waiter& add more comments about changes to address issues raised by PeterZ. v1->v2: - Set task state to runnin

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

2016-07-18 Thread Jason Low
On Tue, 2016-03-22 at 13:46 -0400, Waiman Long wrote: > v2->v3: > - Remove patch 4 as it is not useful. > - Allow need_resched() check for waiter & add more comments about >changes to address issues raised by PeterZ. > > v1->v2: > - Set task state to running before doing optimistic spinning

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

2016-03-22 Thread Waiman Long
v2->v3: - Remove patch 4 as it is not useful. - Allow need_resched() check for waiter & add more comments about changes to address issues raised by PeterZ. v1->v2: - Set task state to running before doing optimistic spinning. - Add 2 more patches to handle possible missed wakeups and wastef