Re: futex performance regression from "futex: Allow automatic allocation of process wide futex hash"

From: Sebastian Andrzej Siewior
Date: Thu Jun 26 2025 - 09:50:52 EST


On 2025-06-26 15:17:15 [+0200], Peter Zijlstra wrote:
> > I'd vote for defaulting to global for one more release.
>
> Probably best to do that; means we don't have to rush crazy code :-)

If we do that, that means we need to ensure that the private hash is not
deployed while a thread is created and the prctl() function can only
work create the private hash if the application is single threaded.

Sebastian