Re: [PATCH v2] sched/deadline: document new sched_getattr() feature for retrieving current parameters for DEADLINE tasks

From: Jonathan Corbet

Date: Mon Mar 09 2026 - 12:21:58 EST


Tommaso Cucinotta <tommaso.cucinotta@xxxxxxxxx> writes:

> Document in Documentation/sched/sched-deadline.rst the new capability of
> sched_getattr() to retrieve, for DEADLINE tasks, the runtime left and absolute
> deadline (setting the flags syscall parameter to 1), in addition to the static
> parameters (obtained with flags=0).
>
> Signed-off-by: Tommaso Cucinotta <tommaso.cucinotta@xxxxxxxxxxxxxxx>
> Acked-by: Juri Lelli <juri.lelli@xxxxxxxxxx>
> ---
> Documentation/scheduler/sched-deadline.rst | 19 +++++++++++++++----
> 1 file changed, 15 insertions(+), 4 deletions(-)

Applied, thanks.

jon