Re: [PATCH v2 09/16] sched/deadline: Reset the deadline and the runtime with the parameters

From: Mathieu Desnoyers

Date: Thu Nov 19 2026 - 08:39:15 EST


> Can a task still retain the donor's runtime and deadline after a PI deboost
> when p->dl.dl_runtime is non-zero?

> Does zeroing dl_se->deadline, dl_se->runtime, and dl_se->dl_throttled here
> without canceling dl_se->dl_timer leave a stale replenishment timer queued
> from the old period?

These are the two points of v1. My answer there still holds [1]. The
second series handles both:
- "sched/deadline: Reset the donor's runtime at a deboost in the class"
and "sched/deadline: Count the bandwidth a boosted task is given", for
the first one.
- "sched/deadline: Cancel the replenishment timer with the parameters",
for the second one.

[1] https://lore.kernel.org/all/877b1999-a01b-4bfd-8986-c41b059ea1b3@xxxxxxxxxxxx/

Thanks,

Mathieu

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