Re: [PATCH v12 31/43] sched/deadline: Restore the owner's period at a deboost out of the class

From: Mathieu Desnoyers

Date: Tue Dec 01 2026 - 11:20:39 EST


> Can a task waking up while boosted be enqueued onto dl_rq with
> dl_se->runtime == 0 and its exhausted own_deadline instead of being
> replenished from its donor?

Yes, for a task that left SCHED_DEADLINE and is boosted back in.
rt_mutex_setprio() calls dl_boost_start() only for a task with a
deadline policy. So this task is queued by its own deadline until it
first runs. update_curr_dl_se() then refills it from the donor at once.
The PI series, which will follow v13, will leave this as it is. Its
cover will list it as a known limit. For a
task with a deadline policy, the PI series will make dl_boost_start()
hold such a boost: see my reply on patch 39.

Thanks,

Mathieu