Commit 215d9ba6 authored by Vincent Guittot's avatar Vincent Guittot Committed by Todd Kjos
Browse files

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.

Change-Id: I65a8c9be85164a7c1b39be5380e8807c49db850b
Signed-off-by: default avatarVincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: default avatarSteve Muckle <smuckle@linaro.org>
(am from https://patchwork.kernel.org/patch/7804851/

)
Signed-off-by: default avatarPunit Agrawal <punit.agrawal@arm.com>
parent e63b9c27
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment