Re: [PATCH v10 25/40] sched/deadline: Reset the donor's runtime at a deboost in the class

From: Mathieu Desnoyers

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


> Does starting a new period in dl_deboost() while the task is asleep cause
> a constrained-deadline task (dl_deadline < dl_period) to lose runtime or
> be throttled when it later wakes up?

Yes, by reading, for a task asleep on anything but an rt_mutex. Its
wakeup then trims the runtime of that period, or throttles it in its
gap. The task can lose part of a period. It never gains any. Moving the
period to the wakeup needs a design of its own. v11 will leave it, and
list it as a known limit.

Thanks,

Mathieu


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