Re: [PATCH v10 13/40] sched/deadline: Make a rebuild count a task in the root domain it runs in
From: Mathieu Desnoyers
Date: Mon Nov 23 2026 - 08:58:39 EST
> Can this early return drop the departing bandwidth of a task that was
> migrated outside its mask by dl_task_offline_migration() and exited
> during the rebuild?
Yes, by reading. It needs admission control off, every CPU of the mask
offline, and an exit during the rebuild. In v11, the check for a task
with no active CPU will come after the check for a departed task, under
dl_departed_lock. A departed task will then be counted on the CPU
recorded with it. No case will test it.
Thanks,
Mathieu
--
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com