diff options
| author | Valentin Schneider <valentin.schneider@arm.com> | 2017-03-03 11:43:03 +0000 |
|---|---|---|
| committer | Andres Oportus <andresoportus@google.com> | 2017-06-02 08:01:54 -0700 |
| commit | fef0112a63989830cfd60f6ede53014600e751e0 (patch) | |
| tree | 9e08b67252576ffe2bd67376adb38e1e107b0213 /tools/perf/scripts/python | |
| parent | 83f462daa328f2f42c3c1f7f5277f71e3fa0f750 (diff) | |
sched/fair: discount task contribution to find CPU with lowest utilization
In some cases, the new_util of a task can be the same on several
CPUs. This causes an issue because the target_util is only updated
if the current new_util is strictly smaller than target_util.
To fix that, the cpu_util_wake() return value is used alongside the
new_util value. If two CPUs compute the same new_util value,
we'll now also look at their cpu_util_wake() return value. In this
case, the CPU that last ran the task will be chosen in priority.
Change-Id: Ia1ea2c4b3ec39621372c2f748862317d5b497723
Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
