Thread (17 messages) 17 messages, 3 authors, 2021-05-06

Re: [PATCH v3 00/13] Add futex2 syscalls

From: Thomas Gleixner <hidden>
Date: 2021-05-05 14:23:56
Also in: linux-kselftest, lkml

On Wed, May 05 2021 at 14:31, Peter Zijlstra wrote:
On Tue, Apr 27, 2021 at 08:12:35PM -0300, André Almeida wrote:
quoted
Hi,

This patch series introduces the futex2 syscalls.
I still utterly detest that this adds a second hash-table for no
descernable reason.

The new syscall interface does not depend on that in any way, you
previously implemented the multi-wait thing in the current futex code.

Like I said last time; I'm okay with the new interface, but I don't see
why you need to reimplement the insides, that's all pointless code
duplication.
The real question is whether we really need to model all of this along
the existing futex functionality. I wouldn't mind a new infrastructure
which addresses all the other known issues of futexes and makes the
overall design less horrible than what we have now.

But that needs input from futex users (libraries and other horrible
wrappers) to figure out what they really need, hate, like or do not care
about.

Without that we are bound to pile more crap on the existing pile of
horrors forever.

Thanks,

        tglx
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help