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)
committerAmit Pundir <amit.pundir@linaro.org>
Wed, 14 Sep 2016 09:28:22 +0000 (14:58 +0530)
commit39daf1cf5ae48b11441d3084bc2908bdaffc3a5d
tree5438cff3dd587d0fa6986318c20115ec02be4cfe
parent6e4178facd5f6079a384be7c2071a276096afd9b
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