FIX: sched/tune: update usage of boosted task utilisation on CPU selection
authorPatrick Bellasi <patrick.bellasi@arm.com>
Thu, 28 Jul 2016 15:39:27 +0000 (16:39 +0100)
committerAmit Pundir <amit.pundir@linaro.org>
Wed, 14 Sep 2016 09:29:32 +0000 (14:59 +0530)
commitd3dd88bcc7a0b4ece9e52a8983c0025fec9d2f8a
tree4a6da08e7d5d91ecc78202517de16e12c3b5a507
parentb312c991e9055198e96571feaf73df26e647df56
FIX: sched/tune: update usage of boosted task utilisation on CPU selection

A boosted task needs to be scheduled on a CPU which can grant a minimum
capacity which is higher than its utilization.
However, a task can be allocated on a CPU which already provides an utilization
which is higher than the task boosted utilization itself.
Moreover, with the previous approach a task 100% boosted is not fitting any
CPU.

This patch makes use of the boosted task utilization just as a threashold
which defines the minimum capacity should be available on a CPU to host that
task.

Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
kernel/sched/fair.c