futex: Update futex_wait_setup comments about locking
commit8fe8f545c6d753ead15e1f4919d39e8f9bb49629
authorMichel Lespinasse <walken@google.com>
Mon, 7 Mar 2011 02:07:50 +0000 (6 18:07 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 10 Mar 2011 18:56:18 +0000 (10 19:56 +0100)
treeb188ce42c3b18f481e6f727004499171aa5462c1
parenta5abba989deceb731047425812d268daf7536575
futex: Update futex_wait_setup comments about locking

Reviving a cleanup I had done about a year ago as part of a larger
futex_set_wait proposal. Over the years, the locking of the hashed
futex queue got improved, so that some of the "rare but normal" race
conditions described in comments can't actually happen anymore.

Signed-off-by: Michel Lespinasse <walken@google.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Darren Hart <dvhltc@us.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <20110307020750.GA31188@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/futex.c