Re: [PATCH v10 26/40] sched/deadline: Replenish a throttled task boosted while asleep

From: Mathieu Desnoyers

Date: Mon Nov 23 2026 - 09:00:04 EST


> Can replenish_dl_entity() leave dl_se->dl_donor_refill unset when a
> sleeping SCHED_DEADLINE task's donor has its parameters cleared before
> dl_task_timer() fires?

Yes, by reading. In v11, that branch will note a donor refill for any
boosted entity. The deboost then starts a period of the task's own.

> Does calling replenish_dl_entity() from dl_task_timer() refill a sleeping
> task's pre-boost runtime debt using the donor's parameters?

Yes in v10. v11 will close it with your patch 38 findings. A boost of a
throttled owner will start a period of its donor at once. The deboost
will put back the owner's saved values. It will throttle the owner
again if its runtime is used up.

Thanks,

Mathieu

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