]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched/deadline: Move some utility functions to deadline.h
authorGabriele Monaco <gmonaco@redhat.com>
Mon, 30 Mar 2026 11:10:09 +0000 (13:10 +0200)
committerGabriele Monaco <gmonaco@redhat.com>
Tue, 31 Mar 2026 14:47:17 +0000 (16:47 +0200)
commitc85dbddad705babfbddfef182495994f7f5262c9
tree7d3ad1b9c77bf736db6d0520b778bf572b6cb5e2
parent820725b0eb59f6011e379cc526ae90a6f3efeb50
sched/deadline: Move some utility functions to deadline.h

Some utility functions on sched_dl_entity can be useful outside of
deadline.c , for instance for modelling, without relying on raw
structure fields.

Move functions like dl_task_of and dl_is_implicit to deadline.h to make
them available outside.

Acked-by: Juri Lelli <juri.lelli@redhat.com>
Link: https://lore.kernel.org/r/20260330111010.153663-12-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
include/linux/sched/deadline.h
kernel/sched/deadline.c