From: Jamie Lokier <jamie@shareable.org>
To: Ulrich Drepper <drepper@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] POSIX message queues - syscalls & SIGEV_THREAD
Date: Mon, 17 Nov 2003 21:13:04 +0000 [thread overview]
Message-ID: <20031117211304.GA20118@mail.shareable.org> (raw)
In-Reply-To: <3FB91F22.6090805@redhat.com>
Ulrich Drepper wrote:
> IMO, for 2.6 FUTEX_FD should be removed or disabled. It doesn't work
> reliably.
It is useful for some things, but it isn't a suitable async
replacement for FUTEX_WAIT. My way of judging it is to observe that
you can't build userspace scheduled FUTEX_WAIT-like interface out of
FUTEX_FD, so FUTEX_FD is flawed.
> As for later, and which extensions to add, Ingo and I discussed this
> quite a bit already. One of the problems is that once you extend the
> basic set of operations the possible way are very numerous and the
> interfaces can explode in number.
I don't see an explosion, unless you mean several orthogonal bits in
the op word. A lot can be built on top of FUTEX_WAIT+FUTEX_WAKE; the
explosion of more complex operators is mostly up to userspace.
One thing I thought might be useful is to another argument to
FUTEX_WAKE which is returned to the woken waiter.
> I am not sure that this list is the adequate forum for discussing the
> futex extensions. If somebody says where it should take place and
> somebody actually declares willingness to work on the implementation
> side, I can write down my thoughts and post it.
So far, this or phil-list are the only place I've seen any futex
discussion. I'm willing to work on implementation if you have
thoughts to share; I did the most recent batch of futex changes, after
all. (Btw, do you have any benchmark results for the current code?)
Feel free to share your thoughts privately if you don't want to share
with the list just yet; although I think it is good to let whoever may
be interested see the discussion, it is up to you.
-- Jamie
next prev parent reply other threads:[~2003-11-17 21:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-16 14:57 [PATCH] POSIX message queues - syscalls & SIGEV_THREAD Krzysztof Benedyczak
2003-11-16 15:35 ` Manfred Spraul
2003-11-17 13:57 ` Krzysztof Benedyczak
2003-11-17 6:48 ` Jamie Lokier
2003-11-17 14:58 ` Krzysztof Benedyczak
2003-11-17 15:33 ` Jamie Lokier
2003-11-17 19:18 ` Ulrich Drepper
2003-11-17 21:13 ` Jamie Lokier [this message]
2003-11-18 12:20 ` Krzysztof Benedyczak
2003-11-18 12:47 ` Jamie Lokier
2003-11-21 11:40 ` Krzysztof Benedyczak
2003-11-17 19:07 ` Ulrich Drepper
2003-11-17 21:14 ` Jamie Lokier
2003-11-17 21:30 ` Randy.Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031117211304.GA20118@mail.shareable.org \
--to=jamie@shareable.org \
--cc=drepper@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox