Re: Revised futex(2) man page for review

From: Michael Kerrisk (man-pages)
Date: Mon Jul 27 2015 - 07:10:59 EST


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/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/