lkml.org 
[lkml]   [2015]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/


\
 
 \ /
  Last update: 2015-07-27 13:21    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog