Re: [PATCH v9 15/33] sched/deadline: Keep a task in the root domain that counts its bandwidth
From: Mathieu Desnoyers
Date: Fri Nov 20 2026 - 14:36:39 EST
> Should dl_task_offline_migration() also fall back to an active CPU in span
> when p->cpus_ptr has no active CPUs left?
Yes. This is the follow-up that the v9 cover letter lists. v10 will do
it in this patch. When no CPU of the mask is active,
dl_task_offline_migration() will take an active CPU of the span before
the WARN. The task then runs there until cpuset gives it a new mask.
No case will test it. It needs the replenishment timer to fire between
the CPU going inactive and the cpuset update. User space cannot drive
that.
Thanks,
Mathieu
--
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com