]> err.no Git - linux-2.6/commit
rt-mutex: fix chain walk early wakeup bug
authorThomas Gleixner <tglx@linutronix.de>
Fri, 8 Jun 2007 20:46:58 +0000 (13:46 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 9 Jun 2007 00:23:34 +0000 (17:23 -0700)
commit1a539a87280b3032fd12bc93a4a82f1d8aa97ca8
tree6dea1610ba5ff54f0e3f845d83bfc68ffc162e31
parentc0d1d2bf5a28f78def7b68ca1eb5ba31aafd43a1
rt-mutex: fix chain walk early wakeup bug

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 <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Cc: Ulrich Drepper <drepper@redhat.com>
Cc: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/rtmutex.c