]> 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)
commitc6364f9e4cba68069919f64a35c156bb9f2c62c3
tree6d86d4e19034d9c66392fc8904477dc5288ca850
parentec9173e8bc019ff1c54d304111d004daa316b1c9
futex: update documentation for ordering guarantees

Commits 6f377c1bba74 ("futex: revert back to the explicit waiter
counting code") and 6d9f6f7b5237 ("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