Re: [patch V3 20/20] sched/mmcid: Switch over to the new mechanism

From: Florian Weimer
Date: Mon Nov 24 2025 - 07:27:36 EST


* Mark Brown:

> On Wed, Oct 29, 2025 at 02:09:32PM +0100, Thomas Gleixner wrote:
>> Now that all pieces are in place, change the implementations of
>> sched_mm_cid_fork() and sched_mm_cid_exit() to adhere to the new strict
>> ownership scheme and switch context_switch() over to use the new
>> mm_cid_schedin() functionality.
>>
>> The common case is that there is no mode change required, which makes
>> fork() and exit() just update the user count and the constraints.
>
> I'm seeing boot failures on x86 qemu in -next which bisect to this
> patch. The boot gets to userspace but then grinds to a halt:
>
> https://lava.sirena.org.uk/scheduler/job/2118455#L542
>
> which isn't terribly informative unfortunately. I don't have any x86
> hardware, and nothing else seems affected.

I believe that's already discussed here:

<https://lore.kernel.org/873466jekm.ffs@tglx/>

Thanks,
Florian