sched: use util instead of capacity to select busy cpu
authorTodd Kjos <tkjos@google.com>
Wed, 13 Jul 2016 23:13:47 +0000 (16:13 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Wed, 14 Sep 2016 09:32:22 +0000 (15:02 +0530)
commit831623e6fe5ea7a8dc858b10f369882b6d4fa39f
treec99e2b5228502935a06e52ca8a8241ec06d02408
parent7bba794daaa85dce327e52b201439bb2c148b6c9
sched: use util instead of capacity to select busy cpu

If cpus are busy, the cpu selection algorithm was favoring
cpus with lower capacity. This can result in uneven packing
since there will be a bias toward the same cpu until there
is a capacity change. Instead use the utilization so there
is immediate feedback as tasks are assigned

BUG: 30115868

Change-Id: I0ac7ae3ab5d8f2f5a5838c29bb6da2c3e8ef44e8
kernel/sched/fair.c