]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a607e7d0abc5b5158169064ffb281199e74c59c
tree6d86d4e19034d9c66392fc8904477dc5288ca850
parent82d830997884fd35700b3c05e5211f36aeb2900e
futex: update documentation for ordering guarantees

Commits ed7bb8891725 ("futex: revert back to the explicit waiter
counting code") and 18bcfdf36204 ("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