]> err.no Git - linux-2.6/commit
[PATCH] futex: PI state locking fix
authorIngo Molnar <mingo@elte.hu>
Fri, 16 Mar 2007 21:38:31 +0000 (13:38 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 17 Mar 2007 02:25:06 +0000 (19:25 -0700)
commit21778867b1c8e0feb567addb6dc0a7e2ca6ecdec
treea88a1a8f9a469f0b9e94a2025a6d1990ee9fc407
parentd3a7b6df4951170079252402fd0c2dc70cb0ca2a
[PATCH] futex: PI state locking fix

Testing of -rt by IBM uncovered a locking bug in wake_futex_pi(): the PI
state needs to be locked before we access it.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Chuck Ebbert <cebbert@redhat.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/futex.c