Re: [PATCH v2] mutex: do not unnecessarily deal with waiters

2013-07-19 Thread Davidlohr Bueso
Ingo, any chance of picking this up? Thanks! On Fri, 2013-06-28 at 13:13 -0700, Davidlohr Bueso wrote: > From: Davidlohr Bueso > > Upon entering the slowpath, we immediately attempt to acquire the lock > by checking if it is already unlocked. If we are lucky enough that this > is the case, then

Re: [PATCH v2] mutex: do not unnecessarily deal with waiters

2013-06-29 Thread Maarten Lankhorst
Op 28-06-13 22:13, Davidlohr Bueso schreef: > From: Davidlohr Bueso > > Upon entering the slowpath, we immediately attempt to acquire the lock > by checking if it is already unlocked. If we are lucky enough that this > is the case, then we don't need to deal with any waiter related logic. > > Furt

Re: [PATCH v2] mutex: do not unnecessarily deal with waiters

2013-06-28 Thread Rik van Riel
On 06/28/2013 04:13 PM, Davidlohr Bueso wrote: From: Davidlohr Bueso Upon entering the slowpath, we immediately attempt to acquire the lock by checking if it is already unlocked. If we are lucky enough that this is the case, then we don't need to deal with any waiter related logic. Furthermore

[PATCH v2] mutex: do not unnecessarily deal with waiters

2013-06-28 Thread Davidlohr Bueso
From: Davidlohr Bueso Upon entering the slowpath, we immediately attempt to acquire the lock by checking if it is already unlocked. If we are lucky enough that this is the case, then we don't need to deal with any waiter related logic. Furthermore any checks for an empty wait_list are unnecessar