Re: [PATCH v10 35/40] sched/deadline: Check the runtime of a task whose parameters change

From: Mathieu Desnoyers

Date: Mon Nov 23 2026 - 09:01:52 EST


> Should dl_proxy_block() also check and clear dl_se->dl_new_params?

Yes. In v11, dl_proxy_block() will clear the mark and check the runtime
left, with update_dl_entity().

> Can __setparam_dl() leave dl_se->dl_new_params unset when a task leaves
> SCHED_DEADLINE before its 0-lag time and later re-enters the class with
> the same parameters?

Yes, by reading. In v11, a task that enters the deadline policy will get
the mark, even with the same parameters.

> What happens if p owns an rt_mutex with a deadline waiter whose deadline
> was later than p's old deadline, and shrinking p's reservation pushes
> p->dl.deadline past that waiter's deadline?

p is not boosted. A boost never gives the owner the deadline of its
waiter. It stops the throttle, and the refills use the donor's
parameters. v7.4-rc2 does the same. v11 will not change this.

Thanks,

Mathieu

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