summaryrefslogtreecommitdiff
path: root/kernel/sched/rt.c
diff options
context:
space:
mode:
authorVincent Guittot <vincent.guittot@linaro.org>2015-11-03 10:39:01 +0100
committerLeo Yan <leo.yan@linaro.org>2016-05-10 16:53:23 +0800
commitfab5cc59bf31aac4bcb222c7d1013a033cb8ef70 (patch)
tree3363543fb213536128adb9b50956e41d55c19298 /kernel/sched/rt.c
parentcd248fa758ba2358d4dbf612090e6bbc075c46b1 (diff)
sched: deadline: use deadline bandwidth in scale_rt_capacity
Instead of monitoring the exec time of deadline tasks to evaluate the CPU capacity consumed by deadline scheduler class, we can directly calculate it thanks to the sum of utilization of deadline tasks on the CPU. We can remove deadline tasks from rt_avg metric and directly use the average bandwidth of deadline scheduler in scale_rt_capacity. Based in part on a similar patch from Luca Abeni <luca.abeni@unitn.it>. Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org> Signed-off-by: Steve Muckle <smuckle@linaro.org>
Diffstat (limited to 'kernel/sched/rt.c')
0 files changed, 0 insertions, 0 deletions