sched/deadline: Move bandwidth mgmt and reclaim functions into sched class source...
authorDietmar Eggemann <dietmar.eggemann@arm.com>
Wed, 2 Mar 2022 18:34:29 +0000 (19:34 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 8 Mar 2022 15:08:39 +0000 (16:08 +0100)
commitf1304ecbef3c9f4aec119ce2a07335d3a0bc55a6
tree0fac490f0aa5bff5950657c638073af30955424e
parenteb77cf1c151c4a1c2147cbf24d84bcf0ba504e7c
sched/deadline: Move bandwidth mgmt and reclaim functions into sched class source file

Move the deadline bandwidth management (admission control) functions
__dl_add(), __dl_sub() and __dl_overflow() as well as the bandwidth
reclaim function __dl_update() from private task scheduler header file
to the deadline sched class source file.
The functions are only used internally so they don't have to be
exported.

Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Juri Lelli <juri.lelli@redhat.com>
Link: https://lore.kernel.org/r/20220302183433.333029-3-dietmar.eggemann@arm.com
kernel/sched/deadline.c
kernel/sched/sched.h