Thread (22 messages) 22 messages, 7 authors, 2015-07-28

Re: Revised futex(2) man page for review

flat view

From: Michael Kerrisk (man-pages) <hidden>
Date: 2015-07-27 11:10:55
Also in: linux-man, lkml

Hi David,

On 03/31/2015 04:45 PM, Davidlohr Bueso wrote:
On Sat, 2015-03-28 at 12:47 +0100, Peter Zijlstra wrote:
quoted
       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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help