Messages in this thread |  | | Date | Mon, 27 Jul 2015 13:10:43 +0200 | | From | "Michael Kerrisk (man-pages)" <> | | Subject | Re: Revised futex(2) man page for review |
| |
Hi David,
On 03/31/2015 04:45 PM, Davidlohr Bueso wrote: > On Sat, 2015-03-28 at 12:47 +0100, Peter Zijlstra wrote: > >> The condition is represented by the futex word, which is an address in >> memory supplied to the futex() system call, and the value at this mem‐ >> ory location. (While the virtual addresses for the same memory in sep‐ >> arate processes may not be equal, the kernel maps them internally so >> that the same memory mapped in different locations will correspond for >> futex() calls.) >> >> When executing a futex operation that requests to block a thread, the >> kernel will only block if the futex word has the value that the calling > > Given the use of "word", you should probably state right away that > futexes are only 32bit.
So, I made the opening sentence here:
The condition is represented by the futex word, which is an address in memory supplied to the futex() system call, and the 32-bit value at this memory location.
Okay?
Cheers,
Michael
-- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/
|  |