Re: Futex hash_bucket lock can break isolation and cause priority inversion on RT

Sebastian Andrzej Siewior
2024-10-08T18:09:14Z

On 2024-10-08 12:59:24 [-0300], André Almeida wrote:
>
> So if every process has it owns hb-lock, every process has their own bucket?
> It would act just like a linked list then?

If you have one hb-lock, yes. But you could have 4 or 8 slots. A slot
has 64 bytes due to alignment. As-is the 8 slots would occupy 512 bytes
of memory.

Sebastian