Re: [patch v2 09/11] futex: Provide infrastructure to plug the non contended robust futex unlock race

From: Thomas Gleixner

Date: Fri Mar 20 2026 - 09:35:54 EST


On Fri, Mar 20 2026 at 00:24, Thomas Gleixner wrote:
> +#ifdef CONFIG_FUTEX_ROBUST_UNLOCK
> +void __futex_fixup_robust_unlock(struct pt_regs *regs, struct futex_unlock_cs_range *csr)
> +{
> + void __user *pop = arch_futex_robust_unlock_get_pop(regs);
> +
> + if (!pop)
> + return;
> +
> + futex_robust_list_clear_pending(pop, csr->cs_pop_size32 ? FLAGS_ROBUST_LIST32 : 0);

That needs to be

futex_robust_list_clear_pending(pop, csr->pop_size32 ? FLAGS_ROBUST_LIST32 : 0);

Somehow that fixup was lost on the devel machine. Fixed in the git tree.

Thanks,

tglx