futex: update documentation for ordering guarantees
authorDavidlohr Bueso <davidlohr@hp.com>
Wed, 9 Apr 2014 18:55:07 +0000 (11:55 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 13 Apr 2014 00:57:51 +0000 (17:57 -0700)
commitd7e8af1afeffb03ab250b91cd70ba8c701f0f2b7
tree6d86d4e19034d9c66392fc8904477dc5288ca850
parent454fd351f2e2b6baa926d61064aaf70d2a77976e
futex: update documentation for ordering guarantees

Commits 11d4616bd07f ("futex: revert back to the explicit waiter
counting code") and 69cd9eba3886 ("futex: avoid race between requeue and
wake") changed some of the finer details of how we think about futexes.
One was a late fix and the other a consequence of overlooking the whole
requeuing logic.

The first change caused our documentation to be incorrect, and the
second made us aware that we need to explicitly add more details to it.

Signed-off-by: Davidlohr Bueso <davidlohr@hp.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/futex.c