Re: [PATCH] sched/mmcid: Bound the CID allocation busy wait

From: Thomas Gleixner

Date: Fri Nov 13 2026 - 10:49:48 EST


On Wed, Nov 11 2026 at 20:48, Mathieu Desnoyers wrote:
> On Tue, Oct 20 2026 at 15:54, Thomas Gleixner wrote:
> I have a reproducer for a lockup that starts from the stale state you
> describe. It needs two more things: the execve() fails, and the task is
> moved to another CPU during that execve().

That has been reported already privately to me and a few others and the
reporter provided a similar patch as you.

While both variants seem simpler, I prefer the explicit
re-initialization for the failed exec() case.

It's a NOOP for newly initialized MMs and avoids the pointless fixup
dance for the last user in the common case.

Thanks,

tglx