diff options
author | Thomas Gleixner <[email protected]> | 2009-10-04 09:34:17 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-10-05 21:08:14 +0200 |
commit | eaaea8036d0261d87d7072c5bc88c7ea730c18ac (patch) | |
tree | 07bbd53bdc9a47d86ca667f3171c3b7ebf1ac07c /lib/cpu-notifier-error-inject.c | |
parent | d014e8894dfc523dd9d2f2a17b6dcb94facea810 (diff) |
futex: Fix locking imbalance
Rich reported a lock imbalance in the futex code:
http://bugzilla.kernel.org/show_bug.cgi?id=14288
It's caused by the displacement of the retry_private label in
futex_wake_op(). The code unlocks the hash bucket locks in the
error handling path and retries without locking them again which
makes the next unlock fail.
Move retry_private so we lock the hash bucket locks when we retry.
Reported-by: Rich Ercolany <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Darren Hart <[email protected]>
Cc: stable-2.6.31 <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions