diff options
| author | Srinath Sridharan <srinathsr@google.com> | 2016-07-29 17:50:11 +0100 |
|---|---|---|
| committer | John Stultz <john.stultz@linaro.org> | 2016-08-11 14:26:53 -0700 |
| commit | 07ec7db165f1990ca563e18888e82991eac1c5e5 (patch) | |
| tree | 08004a2dccdb440ee53ae0c2202a1f89d4e54a84 /security/selinux/hooks.c | |
| parent | 142b2acc79777f3cac93144d7ebf9caa53e97f9b (diff) | |
sched/fair: Favor higher cpus only for boosted tasks
This CL separates the notion of boost and prefer_idle schedtune
attributes in cpu selection. Today only top-app
tasks are boosted. The CPU selection is slightly tweaked such that
higher order cpus are preferred only for boosted tasks (top-app) and the
rest would be skewed towards lower order cpus.
This avoids starvation issues for fg tasks when interacting with high
priority top-app tasks (a problem often seen in the case of system_server).
bug: 30245369
bug: 30292998
Change-Id: I0377e00893b9f6586eec55632a265518fd2fa8a1
Conflicts:
kernel/sched/fair.c
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
