All of lore.kernel.org
 help / color / mirror / Atom feed
* futex(2) man page update help request
@ 2014-05-14 10:35 Michael Kerrisk (man-pages)
  2014-05-14 16:18   ` Darren Hart
  0 siblings, 1 reply; 145+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-14 10:35 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, Jakub Jelinek, Darren Hart
  Cc: mtk.manpages, linux-man, lkml, Davidlohr Bueso, Arnd Bergmann,
	Steven Rostedt, Peter Zijlstra, Linux API

[So, some futex recent discussions remind me I should make this request]

Hello all (especially those in the To:, namely Thomas, Darren, Ingo, Jakub),

The futex man pages:
http://man7.org/linux/man-pages/man2/futex.2.html
http://man7.org/linux/man-pages/man7/futex.7.html
are currently in a sorry state. I'm by no means convinced that all of the
futex operations described there are explained fully and correctly. And 
probably not all error cases for each operation are properly documented.
I'd be very happy if some folk could review those pages and send me 
corrections (Git: http://git.kernel.org/pub/scm/docs/man-pages/man-pages). 

But worse, a number of futex operations remain undocumented in futex(2)
(see the list below).

I am aware of Documentation/pi-futex.txt and 
Documentation/futex-requeue-pi.txt. However, both of those documents
are rather thin on details / explain what certain FUTEX_* operations are
used for rather than what they do / focus on the implementation, rather 
than the semantics.

What I would like is that the futex(2) page documenta each one of 
these operations with a focus on the semantics in a way that might be
useful to writers of library functions or those who simply wish to
better understand (from a user-space perspective) what futexes are 
and how they are used. However, I don't have the knowledge to do 
this well in any reasonable time. 

Would the folk in the To: list (or anyone else who is knowledgeable) 
be willing to write patches
(Git: http://git.kernel.org/pub/scm/docs/man-pages/man-pages )
or just supply me with some raw text that documents these currently
undocumented futex operations, in the manner suggested?

The operations for which documentation is currently missing are:

2.6.14 adds FUTEX_WAKE_OP
    commit 4732efbeb997189d9f9b04708dc26bf8613ed721
    Author: Jakub Jelinek <jakub@redhat.com>
    Date:   Tue Sep 6 15:16:25 2005 -0700
    See also https://bugzilla.kernel.org/show_bug.cgi?id=14303

2.6.18 adds priority inheritance support:
FUTEX_LOCK_PI, FUTEX_UNLOCK_PI, and FUTEX_TRYLOCK_PI.  
    commit c87e2837be82df479a6bae9f155c43516d2feebc
    Author: Ingo Molnar <mingo@elte.hu>
    Date:   Tue Jun 27 02:54:58 2006 -0700

    commit e2970f2fb6950183a34e8545faa093eb49d186e1
    Author: Ingo Molnar <mingo@elte.hu>
    Date:   Tue Jun 27 02:54:47 2006 -0700

    See Documentation/pi-futex.txt

2.6.25 adds FUTEX_WAKE_BITSET, FUTEX_WAIT_BITSET
    commit cd689985cf49f6ff5c8eddc48d98b9d581d9475d
    Author: Thomas Gleixner <tglx@linutronix.de>
    Date:   Fri Feb 1 17:45:14 2008 +0100

2.6.31 adds FUTEX_WAIT_REQUEUE_PI, FUTEX_CMP_REQUEUE_PI
    commit 52400ba946759af28442dee6265c5c0180ac7122
    Author: Darren Hart <dvhltc@us.ibm.com>
    Date:   Fri Apr 3 13:40:49 2009 -0700

    commit ba9c22f2c01cf5c88beed5a6b9e07d42e10bd358
    Author: Darren Hart <dvhltc@us.ibm.com>
    Date:   Mon Apr 20 22:22:22 2009 -0700

    See Documentation/futex-requeue-pi.txt

Thanks,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

^ permalink raw reply	[flat|nested] 145+ messages in thread

end of thread, other threads:[~2015-02-16 13:14 UTC | newest]

Thread overview: 145+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-14 10:35 futex(2) man page update help request Michael Kerrisk (man-pages)
2014-05-14 16:18 ` Darren Hart
2014-05-14 16:18   ` Darren Hart
2014-05-14 19:03   ` Michael Kerrisk (man-pages)
2014-05-14 19:59     ` Darren Hart
2014-05-14 19:59       ` Darren Hart
2014-05-14 20:23     ` Carlos O'Donell
2014-05-14 20:23       ` Carlos O'Donell
2014-05-14 20:44       ` Andy Lutomirski
2014-05-14 20:44         ` Andy Lutomirski
2014-05-14 23:34       ` Thomas Gleixner
2014-05-14 23:34         ` Thomas Gleixner
2014-05-15  3:12         ` Carlos O'Donell
2014-05-15  3:12           ` Carlos O'Donell
2014-05-15  4:49           ` Michael Kerrisk (man-pages)
2014-05-15  4:49             ` Michael Kerrisk (man-pages)
2014-05-15  4:53         ` Michael Kerrisk (man-pages)
2014-05-15  4:53           ` Michael Kerrisk (man-pages)
2014-05-15 14:14           ` Thomas Gleixner
2014-05-15 14:14             ` Thomas Gleixner
2014-05-15 20:19             ` Michael Kerrisk (man-pages)
2014-05-15 20:19               ` Michael Kerrisk (man-pages)
2014-08-04 14:46               ` Carlos O'Donell
2014-08-04 14:46                 ` Carlos O'Donell
2014-05-15 20:35             ` Darren Hart
2014-05-15 20:35               ` Darren Hart
2015-01-15 15:12               ` Michael Kerrisk (man-pages)
2015-01-15 15:12                 ` Michael Kerrisk (man-pages)
2015-01-17  1:33                 ` Darren Hart
2015-01-17  1:33                   ` Darren Hart
2015-01-17  9:16                   ` Michael Kerrisk (man-pages)
2015-01-17 19:26                     ` Darren Hart
2015-01-17 19:26                       ` Darren Hart
2015-01-18 10:18                       ` Michael Kerrisk (man-pages)
2015-01-18 10:18                         ` Michael Kerrisk (man-pages)
2015-01-15 15:10             ` Michael Kerrisk (man-pages)
2015-01-15 15:10               ` Michael Kerrisk (man-pages)
2015-01-15 22:23               ` Thomas Gleixner
2015-01-15 22:23                 ` Thomas Gleixner
2015-01-16 15:17                 ` Michael Kerrisk (man-pages)
2015-01-16 15:17                   ` Michael Kerrisk (man-pages)
2015-01-16 15:20                   ` Thomas Gleixner
2015-01-16 15:20                     ` Thomas Gleixner
2015-01-16 20:54                     ` Michael Kerrisk (man-pages)
2015-01-16 20:54                       ` Michael Kerrisk (man-pages)
2015-01-17  0:46                       ` Darren Hart
2015-01-17  0:46                         ` Darren Hart
2015-01-19 10:45                         ` Thomas Gleixner
2015-01-19 10:45                           ` Thomas Gleixner
2015-01-19 14:07                           ` Michael Kerrisk (man-pages)
2015-01-23 18:19                         ` Torvald Riegel
2015-01-23 18:19                           ` Torvald Riegel
2015-01-24 10:05                           ` Thomas Gleixner
2015-01-24 12:58                             ` Torvald Riegel
2015-01-24 16:25                               ` Thomas Gleixner
2015-01-24 16:25                                 ` Thomas Gleixner
2015-01-17  0:56                       ` Davidlohr Bueso
2015-01-17  1:11                         ` Darren Hart
2015-01-17  1:11                           ` Darren Hart
2015-01-23 18:29               ` Torvald Riegel
2015-01-23 18:29                 ` Torvald Riegel
2015-01-24 11:35                 ` Thomas Gleixner
2015-01-24 11:35                   ` Thomas Gleixner
2015-01-24 13:12                   ` Torvald Riegel
2015-01-24 13:12                     ` Torvald Riegel
2015-01-27  7:48                     ` Michael Kerrisk (man-pages)
2015-01-27  7:48                       ` Michael Kerrisk (man-pages)
2015-02-05 19:57                   ` Darren Hart
2014-05-15  8:13       ` Peter Zijlstra
2014-05-15  8:13         ` Peter Zijlstra
2014-05-15 15:43         ` Darren Hart
2014-05-15 15:43           ` Darren Hart
2014-05-15  8:14       ` Peter Zijlstra
2014-05-15  8:14         ` Peter Zijlstra
2014-05-15 13:18         ` Carlos O'Donell
2014-05-15 13:18           ` Carlos O'Donell
2014-05-15 13:22           ` Peter Zijlstra
2014-05-15 13:22             ` Peter Zijlstra
2014-05-15 13:49             ` Michael Kerrisk (man-pages)
2014-05-15 13:49               ` Michael Kerrisk (man-pages)
2014-05-15 13:55               ` Peter Zijlstra
2014-05-15 13:55                 ` Peter Zijlstra
2014-05-15 14:39               ` Carlos O'Donell
2014-05-15 14:39                 ` Carlos O'Donell
2014-05-15 15:11                 ` Peter Zijlstra
2014-05-14 20:56     ` Davidlohr Bueso
2014-05-14 20:56       ` Davidlohr Bueso
2014-05-14 21:03       ` Darren Hart
2014-05-14 21:03         ` Darren Hart
2014-05-14 22:21         ` Paul E. McKenney
2014-05-14 22:21           ` Paul E. McKenney
2014-05-15  0:28       ` H. Peter Anvin
2014-05-15  0:28         ` H. Peter Anvin
2014-05-15  0:35         ` Andy Lutomirski
2014-05-15  0:41           ` H. Peter Anvin
2014-05-15  0:41             ` H. Peter Anvin
2014-05-15 19:10         ` Carlos O'Donell
2014-05-15 19:10           ` Carlos O'Donell
2014-05-14 21:05   ` Davidlohr Bueso
2014-05-14 21:05     ` Davidlohr Bueso
2014-05-15 15:15     ` Joseph S. Myers
2014-05-15  0:18   ` H. Peter Anvin
2014-05-15  0:18     ` H. Peter Anvin
2014-05-15  5:21     ` Darren Hart
2014-05-15  5:21       ` Darren Hart
2014-05-15  8:23       ` Peter Zijlstra
2014-05-15  8:23         ` Peter Zijlstra
2014-05-15 13:46       ` Michael Kerrisk (man-pages)
2014-05-15 13:46         ` Michael Kerrisk (man-pages)
2014-05-15 14:59         ` H. Peter Anvin
2014-05-15 14:59           ` H. Peter Anvin
2014-05-15 15:42         ` chrubis
2014-05-15 15:52           ` H. Peter Anvin
2014-05-15 15:52             ` H. Peter Anvin
2014-05-15 16:01             ` chrubis
2014-05-15 16:01               ` chrubis-AlSwsSmVLrQ
2014-05-15 16:07               ` H. Peter Anvin
2014-05-15 16:07                 ` H. Peter Anvin
2014-05-15 16:17                 ` chrubis
2014-05-15 16:17                   ` chrubis-AlSwsSmVLrQ
2014-05-15 16:56                   ` H. Peter Anvin
2014-05-15 17:06                     ` chrubis
2014-05-15 17:06                       ` chrubis-AlSwsSmVLrQ
2014-05-15 15:47         ` Darren Hart
2014-05-15 15:35     ` chrubis
2014-05-15 15:35       ` chrubis-AlSwsSmVLrQ
2014-05-15 15:28   ` chrubis
2014-05-15 15:28     ` chrubis-AlSwsSmVLrQ
2014-05-15 15:40     ` Steven Rostedt
2014-05-15 15:40       ` Steven Rostedt
2014-05-15 16:14     ` Darren Hart
2014-05-15 16:14       ` Darren Hart
2014-05-15 16:30       ` chrubis
2014-05-15 16:30         ` chrubis-AlSwsSmVLrQ
2014-05-15 18:17         ` Darren Hart
2014-05-15 18:17           ` Darren Hart
2014-05-15 19:05           ` chrubis
2014-05-15 19:05             ` chrubis-AlSwsSmVLrQ
2014-05-15 19:38             ` Darren Hart
2014-05-15 19:38               ` Darren Hart
2014-08-11 10:19               ` chrubis
2014-08-11 10:19                 ` chrubis-AlSwsSmVLrQ
2014-11-26 13:41               ` Cyril Hrubis
2014-11-26 13:41                 ` Cyril Hrubis
2015-02-16 13:14               ` Cyril Hrubis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.