Re: [PATCH] futex: Prevent robust futex exit race more

From: Thomas Gleixner

Date: Thu Jul 30 2026 - 17:14:45 EST


On Tue, Jul 28 2026 at 21:43, Thomas Gleixner wrote:
> On Mon, Jul 27 2026 at 13:23, Keno Fischer wrote:
>
>> On Mon, Jul 27, 2026 at 9:12 AM Thomas Gleixner <tglx@xxxxxxxxxx> wrote:
>>> Reworked version below.
>>
>> Patch looks good and passes all my local tests! Thanks!
>
> Let me write a change log then ...

And while I did so, I came up with a trivial optimization for the most
common use case where @nr_wake = 1, which allows to skip the second list
walk completely.

I'll post that final patch in a few, so please have an eye on that
change.

Thanks,

tglx