sched/fair: Picking cpus with low OPPs for tasks that prefer idle CPUs
authorSrinath Sridharan <srinathsr@google.com>
Tue, 2 Aug 2016 21:05:46 +0000 (14:05 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Wed, 14 Sep 2016 09:32:22 +0000 (15:02 +0530)
commit08786c13717cfc228a84cf3928d91708df7caf0c
treed7ea6f3af1b6efdb7d1476ee5e0711f37944dab7
parent4d8776f3cc03da1bab0ffa507675ef1e184990c8
sched/fair: Picking cpus with low OPPs for tasks that prefer idle CPUs

When idle cpus cannot be found for Top-app/FG tasks, the cpu selection
algorithm picks a cpu with lowest OPP amongst the busy cpus as a second
choice.

Mitigates the "runnable" time for ui and render threads.

bug: 30481949
bug: 30342017
bug: 30508678
Change-Id: I5a97e31d33284895c0fa6f6942102713ee576d77
kernel/sched/fair.c