diff options
author | Viresh Kumar <[email protected]> | 2018-04-26 16:00:51 +0530 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-05-04 10:00:08 +0200 |
commit | c976a862ba4869c1e75c39b9b8f1e9ebfe90cdfc (patch) | |
tree | 00d6e6fe00a742000db7219a8a24d206857acb25 /tools/perf/scripts/python/stat-cpi.py | |
parent | f1d88b4468188ddcd2620b8d612068faf6662a62 (diff) |
sched/fair: Avoid calling sync_entity_load_avg() unnecessarily
Call sync_entity_load_avg() directly from find_idlest_cpu() instead of
select_task_rq_fair(), as that's where we need to use task's utilization
value. And call sync_entity_load_avg() only after making sure sched
domain spans over one of the allowed CPUs for the task.
Signed-off-by: Viresh Kumar <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vincent Guittot <[email protected]>
Link: http://lkml.kernel.org/r/cd019d1753824c81130eae7b43e2bbcec47cc1ad.1524738578.git.viresh.kumar@linaro.org
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions