Re: futex(2) man page update help request

2015-02-16 Thread Cyril Hrubis
Hi! > I'll follow up with you in a couple weeks most likely. I have some urgent > things that will be taking all my time and then some until then. Feel free > to poke me though if I lose track of it :-) FYI I've started to work on futex testcases for LTP. The first batch has been commited in: htt

Re: futex(2) man page update help request

2015-02-05 Thread Darren Hart
On 1/24/15, 3:35 AM, "Thomas Gleixner" wrote: >On Fri, 23 Jan 2015, Torvald Riegel wrote: >> Second, the current documentation for EINTR is that it can happen due to >> receiving a signal *or* due to a spurious wake-up. This is difficult to > >I don't think so. I went through all callchains agai

Re: futex(2) man page update help request

2015-01-26 Thread Michael Kerrisk (man-pages)
Hello Torvald, On 01/24/2015 02:12 PM, Torvald Riegel wrote: > On Sat, 2015-01-24 at 12:35 +0100, Thomas Gleixner wrote: >> So we should never see -EINTR in the case of a spurious wakeup here. >> >> But, here is the not so good news: >> >> I did some archaeology. The restart handling of futex_wai

Re: futex(2) man page update help request

2015-01-24 Thread Thomas Gleixner
On Sat, 24 Jan 2015, Torvald Riegel wrote: > On Sat, 2015-01-24 at 11:05 +0100, Thomas Gleixner wrote: > > On Fri, 23 Jan 2015, Torvald Riegel wrote: > > > > > On Fri, 2015-01-16 at 16:46 -0800, Darren Hart wrote: > > > > On 1/16/15, 12:54 PM, "Michael Kerrisk (man-pages)" > > > > wrote: > > > >

Re: futex(2) man page update help request

2015-01-24 Thread Torvald Riegel
On Sat, 2015-01-24 at 12:35 +0100, Thomas Gleixner wrote: > So we should never see -EINTR in the case of a spurious wakeup here. > > But, here is the not so good news: > > I did some archaeology. The restart handling of futex_wait() got > introduced in kernel 2.6.22, so anything older than that

Re: futex(2) man page update help request

2015-01-24 Thread Torvald Riegel
On Sat, 2015-01-24 at 11:05 +0100, Thomas Gleixner wrote: > On Fri, 23 Jan 2015, Torvald Riegel wrote: > > > On Fri, 2015-01-16 at 16:46 -0800, Darren Hart wrote: > > > On 1/16/15, 12:54 PM, "Michael Kerrisk (man-pages)" > > > wrote: > > > > > > >Color me stupid, but I can't see this in futex_re

Re: futex(2) man page update help request

2015-01-24 Thread Thomas Gleixner
On Fri, 23 Jan 2015, Torvald Riegel wrote: > Second, the current documentation for EINTR is that it can happen due to > receiving a signal *or* due to a spurious wake-up. This is difficult to I don't think so. I went through all callchains again with a fine comb. futex_wait() retry: ret

Re: futex(2) man page update help request

2015-01-24 Thread Thomas Gleixner
On Fri, 23 Jan 2015, Torvald Riegel wrote: > On Fri, 2015-01-16 at 16:46 -0800, Darren Hart wrote: > > On 1/16/15, 12:54 PM, "Michael Kerrisk (man-pages)" > > wrote: > > > > >Color me stupid, but I can't see this in futex_requeue(). Where is that > > >check that is "independent of the requeue ty

Re: futex(2) man page update help request

2015-01-23 Thread Torvald Riegel
On Thu, 2015-01-15 at 16:10 +0100, Michael Kerrisk (man-pages) wrote: > [Adding a few people to CC that have expressed interest in the > progress of the updates of this page, or who may be able to > provide review feedback. Eventually, you'll all get CCed on > the new draft of the page.] > > Hell

Re: futex(2) man page update help request

2015-01-23 Thread Torvald Riegel
On Fri, 2015-01-16 at 16:46 -0800, Darren Hart wrote: > On 1/16/15, 12:54 PM, "Michael Kerrisk (man-pages)" > wrote: > > >Color me stupid, but I can't see this in futex_requeue(). Where is that > >check that is "independent of the requeue type (normal/pi)"? > > > >When I look through futex_requeu

Re: futex(2) man page update help request

2015-01-19 Thread Michael Kerrisk (man-pages)
On 01/19/2015 11:45 AM, Thomas Gleixner wrote: > On Fri, 16 Jan 2015, Darren Hart wrote: >> On 1/16/15, 12:54 PM, "Michael Kerrisk (man-pages)" >> wrote: >> >>> On 01/16/2015 04:20 PM, Thomas Gleixner wrote: On Fri, 16 Jan 2015, Michael Kerrisk (man-pages) wrote: > Hello Thomas,

Re: futex(2) man page update help request

2015-01-19 Thread Thomas Gleixner
On Fri, 16 Jan 2015, Darren Hart wrote: > On 1/16/15, 12:54 PM, "Michael Kerrisk (man-pages)" > wrote: > > >On 01/16/2015 04:20 PM, Thomas Gleixner wrote: > >> On Fri, 16 Jan 2015, Michael Kerrisk (man-pages) wrote: > >> > >>> Hello Thomas, > >>> > >>> On 01/15/2015 11:23 PM, Thomas Gleixner wro

Re: futex(2) man page update help request

2015-01-18 Thread Michael Kerrisk (man-pages)
Hello Darren, On 01/17/2015 08:26 PM, Darren Hart wrote: > > On 1/17/15, 1:16 AM, "Michael Kerrisk (man-pages)" > wrote: [...] In the meantime, I have a couple of questions, which, if you could answer them, I would work some changes into the page before sending. 1. In

Re: futex(2) man page update help request

2015-01-17 Thread Darren Hart
On 1/17/15, 1:16 AM, "Michael Kerrisk (man-pages)" wrote: >Hello Darren, > >On 01/17/2015 02:33 AM, Darren Hart wrote: >> Corrected Davidlohr's email address. > >Thanks! > >> On 1/15/15, 7:12 AM, "Michael Kerrisk (man-pages)" >> wrote: >> >>> Hello Darren, >>> >>> I give you the same apology a

Re: futex(2) man page update help request

2015-01-17 Thread Michael Kerrisk (man-pages)
Hello Darren, On 01/17/2015 02:33 AM, Darren Hart wrote: > Corrected Davidlohr's email address. Thanks! > On 1/15/15, 7:12 AM, "Michael Kerrisk (man-pages)" > wrote: > >> Hello Darren, >> >> I give you the same apology as to Thomas for the >> long-delayed response to your mail. >> >> And I rep

Re: futex(2) man page update help request

2015-01-16 Thread Darren Hart
Corrected Davidlohr's email address. On 1/15/15, 7:12 AM, "Michael Kerrisk (man-pages)" wrote: >Hello Darren, > >I give you the same apology as to Thomas for the >long-delayed response to your mail. > >And I repeat my note to Thomas: >In the next day or two, I hope to send out the new version >o

Re: futex(2) man page update help request

2015-01-16 Thread Darren Hart
On 1/16/15, 4:56 PM, "Davidlohr Bueso" wrote: >On Fri, 2015-01-16 at 21:54 +0100, Michael Kerrisk (man-pages) wrote: >> On 01/16/2015 04:20 PM, Thomas Gleixner wrote: >> > On Fri, 16 Jan 2015, Michael Kerrisk (man-pages) wrote: >> > >> >> Hello Thomas, >> >> >> >> On 01/15/2015 11:23 PM, Thomas

Re: futex(2) man page update help request

2015-01-16 Thread Davidlohr Bueso
On Fri, 2015-01-16 at 21:54 +0100, Michael Kerrisk (man-pages) wrote: > On 01/16/2015 04:20 PM, Thomas Gleixner wrote: > > On Fri, 16 Jan 2015, Michael Kerrisk (man-pages) wrote: > > > >> Hello Thomas, > >> > >> On 01/15/2015 11:23 PM, Thomas Gleixner wrote: > >>> On Thu, 15 Jan 2015, Michael Kerr

Re: futex(2) man page update help request

2015-01-16 Thread Darren Hart
On 1/16/15, 12:54 PM, "Michael Kerrisk (man-pages)" wrote: >On 01/16/2015 04:20 PM, Thomas Gleixner wrote: >> On Fri, 16 Jan 2015, Michael Kerrisk (man-pages) wrote: >> >>> Hello Thomas, >>> >>> On 01/15/2015 11:23 PM, Thomas Gleixner wrote: On Thu, 15 Jan 2015, Michael Kerrisk (man-pag

Re: futex(2) man page update help request

2015-01-16 Thread Michael Kerrisk (man-pages)
On 01/16/2015 04:20 PM, Thomas Gleixner wrote: > On Fri, 16 Jan 2015, Michael Kerrisk (man-pages) wrote: > >> Hello Thomas, >> >> On 01/15/2015 11:23 PM, Thomas Gleixner wrote: >>> On Thu, 15 Jan 2015, Michael Kerrisk (man-pages) wrote: > [EINVAL] uaddr equal uaddr2. Requeue to same futex. >>>

Re: futex(2) man page update help request

2015-01-16 Thread Thomas Gleixner
On Fri, 16 Jan 2015, Michael Kerrisk (man-pages) wrote: > Hello Thomas, > > On 01/15/2015 11:23 PM, Thomas Gleixner wrote: > > On Thu, 15 Jan 2015, Michael Kerrisk (man-pages) wrote: > >>> [EINVAL] uaddr equal uaddr2. Requeue to same futex. > >> > >> ??? I added this, but does this error not occu

Re: futex(2) man page update help request

2015-01-16 Thread Michael Kerrisk (man-pages)
Hello Thomas, On 01/15/2015 11:23 PM, Thomas Gleixner wrote: > On Thu, 15 Jan 2015, Michael Kerrisk (man-pages) wrote: >>> [EINVAL] uaddr equal uaddr2. Requeue to same futex. >> >> ??? I added this, but does this error not occur only for PI requeues? > > It's equally wrong for normal futexes. And

Re: futex(2) man page update help request

2015-01-15 Thread Thomas Gleixner
On Thu, 15 Jan 2015, Michael Kerrisk (man-pages) wrote: > > [EINVAL] uaddr equal uaddr2. Requeue to same futex. > > ??? I added this, but does this error not occur only for PI requeues? It's equally wrong for normal futexes. And its actually the same code checking for this for all variants. > >

Re: futex(2) man page update help request

2015-01-15 Thread Michael Kerrisk (man-pages)
Hello Darren, I give you the same apology as to Thomas for the long-delayed response to your mail. And I repeat my note to Thomas: In the next day or two, I hope to send out the new version of the futex(2) page for review. The new draft is a bit bigger (okay -- 4 x bigger) than the current page.

Re: futex(2) man page update help request

2015-01-15 Thread Michael Kerrisk (man-pages)
[Adding a few people to CC that have expressed interest in the progress of the updates of this page, or who may be able to provide review feedback. Eventually, you'll all get CCed on the new draft of the page.] Hello Thomas, On 05/15/2014 04:14 PM, Thomas Gleixner wrote: > On Thu, 15 May 2014, M

Re: futex(2) man page update help request

2014-11-26 Thread Cyril Hrubis
Hi! > >For this complexity of tests you would just need to call the tst_resm() > >interface to report success/failure and, at the end of the test, > >tst_exit() to return the stored overall test status. > > > >And ideally call the standard option parsing code and call the test in > >standard loop s

Re: futex(2) man page update help request

2014-08-11 Thread chrubis
Hi! > >> How much LTP harness type code needs to be used? > > > >Not much. > > > >For this complexity of tests you would just need to call the tst_resm() > >interface to report success/failure and, at the end of the test, > >tst_exit() to return the stored overall test status. > > > >And ideally ca

Re: futex(2) man page update help request

2014-08-04 Thread Carlos O'Donell
On 05/15/2014 04:19 PM, Michael Kerrisk (man-pages) wrote: > On 05/15/2014 04:14 PM, Thomas Gleixner wrote: >> On Thu, 15 May 2014, Michael Kerrisk (man-pages) wrote: >>> And that universe would love to have your documentation of >>> FUTEX_WAKE_BITSET and FUTEX_WAIT_BITSET ;-), >> >> I give you alm

Re: futex(2) man page update help request

2014-05-15 Thread Darren Hart
On 5/15/14, 7:14, "Thomas Gleixner" wrote: Wow Thomas, I planned to do exactly this and you beat me to it. Again. Thanks for getting this started. Michael, I imagine you want something more condensed, and I'll add to what tglx posted (inline below) to try and get you that, but if you have questi

Re: futex(2) man page update help request

2014-05-15 Thread Michael Kerrisk (man-pages)
On 05/15/2014 04:14 PM, Thomas Gleixner wrote: > On Thu, 15 May 2014, Michael Kerrisk (man-pages) wrote: >> And that universe would love to have your documentation of >> FUTEX_WAKE_BITSET and FUTEX_WAIT_BITSET ;-), > > I give you almost the full treatment, but I leave REQUEUE_PI to Darren > and FU

Re: futex(2) man page update help request

2014-05-15 Thread Darren Hart
On 5/15/14, 12:05, "chru...@suse.cz" wrote: >Hi! >> >> I've used LTP in the past (quite a bit), and I felt there was some >> >> advantage to keeping futextest independent. >> > >> >What advantages did you have in mind? >> >> Not CVS was a big one at the time ;-) >> >> OK, I don't mean to be dis

Re: futex(2) man page update help request

2014-05-15 Thread Carlos O'Donell
On 05/14/2014 08:28 PM, H. Peter Anvin wrote: > On 05/14/2014 01:56 PM, Davidlohr Bueso wrote: >>> However, unless I'm sorely mistaken, the larger problem is that glibc removed the futex() call entirely, so these man pages don't describe >>> >>> I don't think futex() ever was in glibc--th

Re: futex(2) man page update help request

2014-05-15 Thread chrubis
Hi! > >> I've used LTP in the past (quite a bit), and I felt there was some > >> advantage to keeping futextest independent. > > > >What advantages did you have in mind? > > Not CVS was a big one at the time ;-) > > OK, I don't mean to be disparaging here... But since you asked, back in > '09 LTP

Re: futex(2) man page update help request

2014-05-15 Thread Darren Hart
On 5/15/14, 9:30, "chru...@suse.cz" wrote: >Hi! >> I've used LTP in the past (quite a bit), and I felt there was some >> advantage to keeping futextest independent. > >What advantages did you have in mind? Not CVS was a big one at the time ;-) OK, I don't mean to be disparaging here... But sinc

Re: futex(2) man page update help request

2014-05-15 Thread chrubis
Hi! > > That is not the main concern here. If I extract the code I would have to > > watch for any changes manually. If it was in a library or a separate > > repository all that would be needed is to add it as dependency/git > > submodule and I would get all updates automatically. > > > > Yes, an

Re: futex(2) man page update help request

2014-05-15 Thread H. Peter Anvin
On 05/15/2014 09:17 AM, chru...@suse.cz wrote: >> >> It should be quite easy to extract from klibc. > > That is not the main concern here. If I extract the code I would have to > watch for any changes manually. If it was in a library or a separate > repository all that would be needed is to add it

Re: futex(2) man page update help request

2014-05-15 Thread chrubis
Hi! > I've used LTP in the past (quite a bit), and I felt there was some > advantage to keeping futextest independent. What advantages did you have in mind? > Perhaps things have changed enough since then (~2009 era) that we > should reconsider. I've been working on LTP for a about three years n

Re: futex(2) man page update help request

2014-05-15 Thread chrubis
Hi! > >> I really believe the proper fix is to use assembly syscall stubs. In > >> klibc I build a fairly elaborate machinery to autogenerate such syscall > >> stubs for a variety of architectures. > > > > Then it would be nice to share these between klibc and LTP (and possible > > everybody else

Re: futex(2) man page update help request

2014-05-15 Thread Darren Hart
On 5/15/14, 8:28, "chru...@suse.cz" wrote: >Hi! >> >> However, unless I'm sorely mistaken, the larger problem is that glibc >> removed the futex() call entirely, so these man pages don't describe >> something users even have access to anymore. I had to revert to calling >> the syscalls directly

Re: futex(2) man page update help request

2014-05-15 Thread H. Peter Anvin
On 05/15/2014 09:01 AM, chru...@suse.cz wrote: > >> I really believe the proper fix is to use assembly syscall stubs. In >> klibc I build a fairly elaborate machinery to autogenerate such syscall >> stubs for a variety of architectures. > > Then it would be nice to share these between klibc and

Re: futex(2) man page update help request

2014-05-15 Thread chrubis
Hi! > > Have a look at this commit that tries to deal with passing 64 bit > > numbers to syscalls. On 32 bit ABI (but not on X32) these needs to be > > split up (accordingly to machine endianity). > > > > https://github.com/linux-test-project/ltp/commit/04afb02b4280a20c262054e8f99a3fad4ad54916 > >

Re: futex(2) man page update help request

2014-05-15 Thread H. Peter Anvin
On 05/15/2014 08:42 AM, chru...@suse.cz wrote: > Hi! >> People have a number of times noted that there are problems >> with syscall(), but I'm not knowledgeable on the details. >> I'd happily take a patch to the man page (which, for historical >> reasons, is actually syscall(2)) that explains the t

Re: futex(2) man page update help request

2014-05-15 Thread Darren Hart
On 5/15/14, 1:13, "Peter Zijlstra" wrote: >On Wed, May 14, 2014 at 04:23:38PM -0400, Carlos O'Donell wrote: >> On 05/14/2014 03:03 PM, Michael Kerrisk (man-pages) wrote: >> >> However, unless I'm sorely mistaken, the larger problem is that glibc >> >> removed the futex() call entirely, so these m

Re: futex(2) man page update help request

2014-05-15 Thread Darren Hart
On 5/15/14, 6:46, "Michael Kerrisk (man-pages)" wrote: >On 05/15/2014 07:21 AM, Darren Hart wrote: >> On 5/14/14, 17:18, "H. Peter Anvin" wrote: >> >>> On 05/14/2014 09:18 AM, Darren Hart wrote: However, unless I'm sorely mistaken, the larger problem is that glibc removed the fut

Re: futex(2) man page update help request

2014-05-15 Thread Steven Rostedt
On Thu, 15 May 2014 17:28:35 +0200 chru...@suse.cz wrote: > Hi! > > > > However, unless I'm sorely mistaken, the larger problem is that glibc > > removed the futex() call entirely, so these man pages don't describe > > something users even have access to anymore. I had to revert to calling > > th

Re: futex(2) man page update help request

2014-05-15 Thread chrubis
Hi! > People have a number of times noted that there are problems > with syscall(), but I'm not knowledgeable on the details. > I'd happily take a patch to the man page (which, for historical > reasons, is actually syscall(2)) that explains the the problems > (and ideally notes those platforms whe

Re: futex(2) man page update help request

2014-05-15 Thread chrubis
Hi! > > However, unless I'm sorely mistaken, the larger problem is that glibc > > removed the futex() call entirely, so these man pages don't describe > > something users even have access to anymore. I had to revert to calling > > the syscalls directly in the futextest test suite because of this: >

Re: futex(2) man page update help request

2014-05-15 Thread chrubis
Hi! > > However, unless I'm sorely mistaken, the larger problem is that glibc > removed the futex() call entirely, so these man pages don't describe > something users even have access to anymore. I had to revert to calling > the syscalls directly in the futextest test suite because of this: > > h

Re: futex(2) man page update help request

2014-05-15 Thread Joseph S. Myers
On Wed, 14 May 2014, Davidlohr Bueso wrote: > > If I'm wrong, or we can restore the futex() call, great. If not... Should > > we keep the man-pages and document it as syscall(SYS_futex, ..., op, ...) ? > > +1, is there anything preventing adding a futex wrapper... glibc folks? See what I said at

Re: futex(2) man page update help request

2014-05-15 Thread Peter Zijlstra
On Thu, May 15, 2014 at 10:39:09AM -0400, Carlos O'Donell wrote: > For example does gettid *really* return a pid_t as considered by > userspace? It's not a full out process... Yeah, PIDs and TIDs are the same namespace in the kernel. All we have are tasks and each task has an id. gettid() actually

Re: futex(2) man page update help request

2014-05-15 Thread H. Peter Anvin
On 05/15/2014 06:46 AM, Michael Kerrisk (man-pages) wrote: > > People have a number of times noted that there are problems > with syscall(), but I'm not knowledgeable on the details. > I'd happily take a patch to the man page (which, for historical > reasons, is actually syscall(2)) that explains

Re: futex(2) man page update help request

2014-05-15 Thread Carlos O'Donell
On 05/15/2014 09:49 AM, Michael Kerrisk (man-pages) wrote: > On Thu, May 15, 2014 at 3:22 PM, Peter Zijlstra wrote: >> On Thu, May 15, 2014 at 09:18:22AM -0400, Carlos O'Donell wrote: >>> On 05/15/2014 04:14 AM, Peter Zijlstra wrote: On Wed, May 14, 2014 at 04:23:38PM -0400, Carlos O'Donell w

Re: futex(2) man page update help request

2014-05-15 Thread Thomas Gleixner
On Thu, 15 May 2014, Michael Kerrisk (man-pages) wrote: > And that universe would love to have your documentation of > FUTEX_WAKE_BITSET and FUTEX_WAIT_BITSET ;-), I give you almost the full treatment, but I leave REQUEUE_PI to Darren and FUTEX_WAKE_OP to Jakub. :) FUTEX_WAIT < Existing

Re: futex(2) man page update help request

2014-05-15 Thread Peter Zijlstra
On Thu, May 15, 2014 at 03:49:10PM +0200, Michael Kerrisk (man-pages) wrote: > On Thu, May 15, 2014 at 3:22 PM, Peter Zijlstra wrote: > > On Thu, May 15, 2014 at 09:18:22AM -0400, Carlos O'Donell wrote: > >> On 05/15/2014 04:14 AM, Peter Zijlstra wrote: > >> > On Wed, May 14, 2014 at 04:23:38PM -0

Re: futex(2) man page update help request

2014-05-15 Thread Michael Kerrisk (man-pages)
On Thu, May 15, 2014 at 3:22 PM, Peter Zijlstra wrote: > On Thu, May 15, 2014 at 09:18:22AM -0400, Carlos O'Donell wrote: >> On 05/15/2014 04:14 AM, Peter Zijlstra wrote: >> > On Wed, May 14, 2014 at 04:23:38PM -0400, Carlos O'Donell wrote: >> >> There are other syscalls like gettid() that have a:

Re: futex(2) man page update help request

2014-05-15 Thread Michael Kerrisk (man-pages)
On 05/15/2014 07:21 AM, Darren Hart wrote: > On 5/14/14, 17:18, "H. Peter Anvin" wrote: > >> On 05/14/2014 09:18 AM, Darren Hart wrote: >>> >>> However, unless I'm sorely mistaken, the larger problem is that glibc >>> removed the futex() call entirely, so these man pages don't describe >>> someth

Re: futex(2) man page update help request

2014-05-15 Thread Peter Zijlstra
On Thu, May 15, 2014 at 09:18:22AM -0400, Carlos O'Donell wrote: > On 05/15/2014 04:14 AM, Peter Zijlstra wrote: > > On Wed, May 14, 2014 at 04:23:38PM -0400, Carlos O'Donell wrote: > >> There are other syscalls like gettid() that have a: > >> NOTE: There is no glibc wrapper for this system call; s

Re: futex(2) man page update help request

2014-05-15 Thread Carlos O'Donell
On 05/15/2014 04:14 AM, Peter Zijlstra wrote: > On Wed, May 14, 2014 at 04:23:38PM -0400, Carlos O'Donell wrote: >> There are other syscalls like gettid() that have a: >> NOTE: There is no glibc wrapper for this system call; see NOTES. > > Yes, can we finally fix that please? It gets tedious havin

Re: futex(2) man page update help request

2014-05-15 Thread Peter Zijlstra
On Wed, May 14, 2014 at 10:21:52PM -0700, Darren Hart wrote: > On 5/14/14, 17:18, "H. Peter Anvin" wrote: > > >On 05/14/2014 09:18 AM, Darren Hart wrote: > >> > >> However, unless I'm sorely mistaken, the larger problem is that glibc > >> removed the futex() call entirely, so these man pages don

Re: futex(2) man page update help request

2014-05-15 Thread Peter Zijlstra
On Wed, May 14, 2014 at 04:23:38PM -0400, Carlos O'Donell wrote: > There are other syscalls like gettid() that have a: > NOTE: There is no glibc wrapper for this system call; see NOTES. Yes, can we finally fix that please? It gets tedious having to endlessly copy/paste that thing around. pgp1M1s

Re: futex(2) man page update help request

2014-05-15 Thread Peter Zijlstra
On Wed, May 14, 2014 at 04:23:38PM -0400, Carlos O'Donell wrote: > On 05/14/2014 03:03 PM, Michael Kerrisk (man-pages) wrote: > >> However, unless I'm sorely mistaken, the larger problem is that glibc > >> removed the futex() call entirely, so these man pages don't describe > > > > I don't think f

Re: futex(2) man page update help request

2014-05-14 Thread Darren Hart
On 5/14/14, 17:18, "H. Peter Anvin" wrote: >On 05/14/2014 09:18 AM, Darren Hart wrote: >> >> However, unless I'm sorely mistaken, the larger problem is that glibc >> removed the futex() call entirely, so these man pages don't describe >> something users even have access to anymore. I had to reve

Re: futex(2) man page update help request

2014-05-14 Thread Michael Kerrisk (man-pages)
Hi Thomas, On Thu, May 15, 2014 at 1:34 AM, Thomas Gleixner wrote: > On Wed, 14 May 2014, Carlos O'Donell wrote: > >> On 05/14/2014 03:03 PM, Michael Kerrisk (man-pages) wrote: >> >> However, unless I'm sorely mistaken, the larger problem is that glibc >> >> removed the futex() call entirely, so

Re: futex(2) man page update help request

2014-05-14 Thread Michael Kerrisk (man-pages)
On 05/15/2014 05:12 AM, Carlos O'Donell wrote: > On 05/14/2014 07:34 PM, Thomas Gleixner wrote: >> On Wed, 14 May 2014, Carlos O'Donell wrote: >> >>> On 05/14/2014 03:03 PM, Michael Kerrisk (man-pages) wrote: > However, unless I'm sorely mistaken, the larger problem is that glibc > removed

Re: futex(2) man page update help request

2014-05-14 Thread Carlos O'Donell
On 05/14/2014 07:34 PM, Thomas Gleixner wrote: > On Wed, 14 May 2014, Carlos O'Donell wrote: > >> On 05/14/2014 03:03 PM, Michael Kerrisk (man-pages) wrote: However, unless I'm sorely mistaken, the larger problem is that glibc removed the futex() call entirely, so these man pages don't d

Re: futex(2) man page update help request

2014-05-14 Thread H. Peter Anvin
On 05/14/2014 05:35 PM, Andy Lutomirski wrote: >> >> More fundamentally, futex(2), like clone(2), are things that can be >> legitimately by user space without automatically breaking all of glibc. > > I'm lost -- I think the missing verb is important :) > ... legitimately *used* by user space ...

Re: futex(2) man page update help request

2014-05-14 Thread Andy Lutomirski
On Wed, May 14, 2014 at 5:28 PM, H. Peter Anvin wrote: > On 05/14/2014 01:56 PM, Davidlohr Bueso wrote: >>> However, unless I'm sorely mistaken, the larger problem is that glibc removed the futex() call entirely, so these man pages don't describe >>> >>> I don't think futex() ever was in

Re: futex(2) man page update help request

2014-05-14 Thread H. Peter Anvin
On 05/14/2014 01:56 PM, Davidlohr Bueso wrote: >> >>> However, unless I'm sorely mistaken, the larger problem is that glibc >>> removed the futex() call entirely, so these man pages don't describe >> >> I don't think futex() ever was in glibc--that's by design, and >> completely understandable: no

Re: futex(2) man page update help request

2014-05-14 Thread H. Peter Anvin
On 05/14/2014 09:18 AM, Darren Hart wrote: > > However, unless I'm sorely mistaken, the larger problem is that glibc > removed the futex() call entirely, so these man pages don't describe > something users even have access to anymore. I had to revert to calling > the syscalls directly in the futex

Re: futex(2) man page update help request

2014-05-14 Thread Thomas Gleixner
On Wed, 14 May 2014, Carlos O'Donell wrote: > On 05/14/2014 03:03 PM, Michael Kerrisk (man-pages) wrote: > >> However, unless I'm sorely mistaken, the larger problem is that glibc > >> removed the futex() call entirely, so these man pages don't describe > > > > I don't think futex() ever was in g

Re: futex(2) man page update help request

2014-05-14 Thread Paul E. McKenney
On Wed, May 14, 2014 at 02:03:13PM -0700, Darren Hart wrote: > On 5/14/14, 13:56, "Davidlohr Bueso" wrote: > > >On Wed, 2014-05-14 at 21:03 +0200, Michael Kerrisk (man-pages) wrote: > >> Hi Darren, > >> > >> On Wed, May 14, 2014 at 6:18 PM, Darren Hart > >>wrote: > >> > On 5/14/14, 3:35, "Micha

Re: futex(2) man page update help request

2014-05-14 Thread Davidlohr Bueso
On Wed, 2014-05-14 at 09:18 -0700, Darren Hart wrote: > On 5/14/14, 3:35, "Michael Kerrisk (man-pages)" > wrote: > > >[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 ma

Re: futex(2) man page update help request

2014-05-14 Thread Darren Hart
On 5/14/14, 13:56, "Davidlohr Bueso" wrote: >On Wed, 2014-05-14 at 21:03 +0200, Michael Kerrisk (man-pages) wrote: >> Hi Darren, >> >> On Wed, May 14, 2014 at 6:18 PM, Darren Hart >>wrote: >> > On 5/14/14, 3:35, "Michael Kerrisk (man-pages)" >> >> > wrote: >> > >> >>[So, some futex recent discu

Re: futex(2) man page update help request

2014-05-14 Thread Davidlohr Bueso
On Wed, 2014-05-14 at 21:03 +0200, Michael Kerrisk (man-pages) wrote: > Hi Darren, > > On Wed, May 14, 2014 at 6:18 PM, Darren Hart wrote: > > On 5/14/14, 3:35, "Michael Kerrisk (man-pages)" > > wrote: > > > >>[So, some futex recent discussions remind me I should make this request] > >> > >>Hell

Re: futex(2) man page update help request

2014-05-14 Thread Andy Lutomirski
On Wed, May 14, 2014 at 1:23 PM, Carlos O'Donell wrote: > On 05/14/2014 03:03 PM, Michael Kerrisk (man-pages) wrote: >>> However, unless I'm sorely mistaken, the larger problem is that glibc >>> removed the futex() call entirely, so these man pages don't describe >> >> I don't think futex() ever w

Re: futex(2) man page update help request

2014-05-14 Thread Carlos O'Donell
On 05/14/2014 03:03 PM, Michael Kerrisk (man-pages) wrote: >> However, unless I'm sorely mistaken, the larger problem is that glibc >> removed the futex() call entirely, so these man pages don't describe > > I don't think futex() ever was in glibc--that's by design, and > completely understandable

Re: futex(2) man page update help request

2014-05-14 Thread Darren Hart
On 5/14/14, 12:03, "Michael Kerrisk (man-pages)" wrote: >Hi Darren, > >On Wed, May 14, 2014 at 6:18 PM, Darren Hart >wrote: >> On 5/14/14, 3:35, "Michael Kerrisk (man-pages)" >> wrote: >> >>>[So, some futex recent discussions remind me I should make this request] >>> >>>Hello all (especially th

Re: futex(2) man page update help request

2014-05-14 Thread Michael Kerrisk (man-pages)
Hi Darren, On Wed, May 14, 2014 at 6:18 PM, Darren Hart wrote: > On 5/14/14, 3:35, "Michael Kerrisk (man-pages)" > wrote: > >>[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 fute

Re: futex(2) man page update help request

2014-05-14 Thread Darren Hart
On 5/14/14, 3:35, "Michael Kerrisk (man-pages)" wrote: >[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

futex(2) man page update help request

2014-05-14 Thread Michael Kerrisk (man-pages)
[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 s