]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
futex: PI state locking fix
authorIngo Molnar <mingo@elte.hu>
Fri, 16 Mar 2007 21:38:31 +0000 (13:38 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 23 Mar 2007 19:49:23 +0000 (12:49 -0700)
commit120d6d2e32028348c630abb1aa4a68a83dfe6d8e
tree0f91aab962512de1d66b9893505b4726850ab38e
parent2e84657dbb433207cac7edfa45f755c8312fb15b
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/futex.c