]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge commit 'v2.6.30-rc1' into core/urgent
authorIngo Molnar <mingo@elte.hu>
Wed, 8 Apr 2009 15:02:50 +0000 (17:02 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 8 Apr 2009 15:02:57 +0000 (17:02 +0200)
Merge reason: need latest upstream to queue up dependent fix

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/futex.c

index 6b50a024bca22e32b0a606fb4b7ea6daf1525967..eef8cd26b5e5062e37830099128f9844b3323253 100644 (file)
@@ -883,7 +883,12 @@ retry_private:
 out_unlock:
        double_unlock_hb(hb1, hb2);
 
-       /* drop_futex_key_refs() must be called outside the spinlocks. */
+       /*
+        * drop_futex_key_refs() must be called outside the spinlocks. During
+        * the requeue we moved futex_q's from the hash bucket at key1 to the
+        * one at key2 and updated their key pointer.  We no longer need to
+        * hold the references to key1.
+        */
        while (--drop_count >= 0)
                drop_futex_key_refs(&key1);