Re: [patch 2/4] rt-mutex: Fix chain walk early wakeup bug

2007-06-08 Thread Ingo Molnar
* Thomas Gleixner <[EMAIL PROTECTED]> wrote: > +++ linux-2.6.22-rc4/kernel/rtmutex.c 2007-06-08 01:39:38.0 +0200 > @@ -189,6 +189,19 @@ int rt_mutex_adjust_prio_chain(struct ta > if (!waiter || !waiter->task) > goto out_unlock_pi; > > + /* > + * Check the or

[patch 2/4] rt-mutex: Fix chain walk early wakeup bug

2007-06-07 Thread Thomas Gleixner
Alexey Kuznetsov found some problems in the pi-futex code. One of the root causes is: When a wakeup happens, we do not to stop the chain walk so we follow a not longer relevant locking chain. Drop out when this happens. Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]> --- kernel/rtmutex.c