Re: [PATCH v13 32/36] sched/deadline: Count again a departed task that a boost brings back
From: Mathieu Desnoyers
Date: Wed Dec 02 2026 - 09:54:54 EST
> Can dl_task_undepart() skip dl_task_count_bw() or count the bandwidth in the
> wrong root domain when p is still asleep on the CPU that went offline or left
> p->cpus_mask?
Yes, for both cases. In v14, dl_task_undepart() will count the task on
the CPU that the walk of the task list would pick. For a task asleep,
that is an active CPU of its mask. If no CPU of its mask is active, the
move of the task to an active CPU will count it.
Thanks,
Mathieu