]> git.baikalelectronics.ru Git - kernel.git/commit
futex: Update futex_wait_setup comments about locking
authorMichel Lespinasse <walken@google.com>
Mon, 7 Mar 2011 02:07:50 +0000 (18:07 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 10 Mar 2011 18:56:18 +0000 (19:56 +0100)
commitd1bd566a19803b20a15ca282913413f2d0c1fa27
treeb188ce42c3b18f481e6f727004499171aa5462c1
parent80e7c449e8b9ba334a4a21064a0b0281b9f62f70
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