Re: [PATCH v11 16/43] sched/deadline: Keep the last CPU a task has in its root domain
From: Mathieu Desnoyers
Date: Fri Nov 27 2026 - 08:49:39 EST
> Should the cgroup v1 loop break on !cpumask_empty(pmask) instead of
> cpumask_intersects(pmask, possible)?
Yes. This needs a task that cannot run on every CPU of its cpuset, as
on arm64 with mismatched 32-bit EL0. cpuset_cpus_allowed_without() then
gives the CPUs of an ancestor, but cgroup v1 leaves the task in its
cpuset. v12 will stop the walk at the nearest ancestor with CPUs left,
as cgroup v1 does in remove_tasks_in_empty_cpuset().
Thanks,
Mathieu