Re: [patch 8/8] x86/vdso: Implement __vdso_futex_robust_try_unlock()

From: Peter Zijlstra

Date: Wed Mar 18 2026 - 18:17:05 EST


On Wed, Mar 18, 2026 at 11:08:26PM +0100, Thomas Gleixner wrote:
> On Tue, Mar 17 2026 at 23:32, Thomas Gleixner wrote:
> > On Tue, Mar 17 2026 at 11:37, Florian Weimer wrote:
> > Something like the below compiled but untested delta diff which includes
> > also the other unrelated feedback fixups?
>
> The more I look into it, the more I regret that we allowed mixed mode in
> the first place. Which way I turn it around the code becomes more
> horrible than it really should be.
>
> If I understand it correctly then the only real world use case is the
> x86 emulator for ARM64. That made me think about possible options to
> keep the insanity restricted.
>
> 1) Delegate the problem to the ARM64 people :)
>
> 2) Make that mixed size mode depend on a config option
>
> 3) Require that such a use case issues a prctl to switch into that
> special case mode.
>
> or a combination of those.
>
> Andre?

Well, he has this patch set that creates multiple lists, which would
nicely solve things for FEX I recon.