Re: [PATCH v8 04/15] futex: Allow automatic allocation of process wide futex hash.

From: Sebastian Andrzej Siewior
Date: Mon Feb 03 2025 - 10:54:29 EST


On 2025-02-03 15:36:02 [+0100], Peter Zijlstra wrote:
> On Mon, Feb 03, 2025 at 02:59:24PM +0100, Sebastian Andrzej Siewior wrote:
> > Allocate a default futex hash if a task forks its first thread.
>
> This makes it so that private futexes are *always* on the mm local hash;
> there is no way to disable this.
>
> This seems somewhat extreme.

That was the plan. But disabling it before creating threads is doable if
needed.

Sebastian