Re: [patch V4 10/14] futex: Provide infrastructure to plug the non contended robust futex unlock race
From: Thomas Gleixner
Date: Fri May 29 2026 - 17:16:25 EST
On Wed, May 27 2026 at 22:08, André Almeida wrote:
> Em 02/04/2026 12:21, Thomas Gleixner escreveu:
>> + /*
>> + * Avoid dereferencing current->mm if not returning from interrupt.
>> + * current->rseq.event is going to be used subsequently, so bringing the
>> + * cache line in is not a big deal.
>> + */
>> + if (!current->rseq.event.user_irq)
>> + return;
>> +
>
> For some reason, this if is always true for aarch64. I had to remove it
> in order to make the test work. Any idea why?
No. That looks like a bug on the arm64 side.