]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaaf2d1073ebb15c819ab1028596b6cf64fb07c15
tree0fac490f0aa5bff5950657c638073af30955424e
parent3be1b53b5e128faeb2fc4a44c6dc47ddda14e835
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