Re: [PATCH v10 17/40] cgroup/cpuset: Refuse to take a deadline task out of its root domain

From: Mathieu Desnoyers

Date: Mon Nov 23 2026 - 08:58:50 EST


> Should pending also be populated when root->partition_root_state is
> PRS_ISOLATED (for example via is_partition_valid(root))?

Yes, by reading. It is a false refusal: the child stays invalid until
its next update. It refuses too much, but it never lets a task move
unadmitted. v11 will keep it for isolated roots. Extending the pending
span to them is left for later.

> Should dl_task_keeps_root_domain() ignore tasks with
> READ_ONCE(p->__state) == TASK_DEAD, the way dl_task_leaves_span() and
> dl_task_in_cpuset() do?

Yes. A dead task runs no more. v11 will accept it.

Thanks,

Mathieu

--
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com