sched: remove call of sched_avg_update from sched_rt_avg_update
authorVincent Guittot <vincent.guittot@linaro.org>
Tue, 20 Oct 2015 08:46:26 +0000 (10:46 +0200)
committerLeo Yan <leo.yan@linaro.org>
Tue, 10 May 2016 08:53:23 +0000 (16:53 +0800)
commitcd248fa758ba2358d4dbf612090e6bbc075c46b1
tree7e465e10fd149a27e347d1753adcc0f0a661a27a
parent9d44dc7fe29c4b925ddbbd6a2551929da28dfbfb
sched: remove call of sched_avg_update from sched_rt_avg_update

rt_avg is only used to scale the available CPU's capacity for CFS
tasks.  As the update of this scaling is done during periodic load
balance, we only have to ensure that sched_avg_update has been called
before any periodic load balancing. This requirement is already
fulfilled by __update_cpu_load so the call in sched_rt_avg_update,
which is part of the hotpath, is useless.

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Steve Muckle <smuckle@linaro.org>
kernel/sched/sched.h