diff options
| author | Juri Lelli <juri.lelli@arm.com> | 2015-08-19 19:47:12 +0100 |
|---|---|---|
| committer | Leo Yan <leo.yan@linaro.org> | 2016-05-10 16:53:22 +0800 |
| commit | ea429ccef14f4ef33e0a1c94a0369a435ae83807 (patch) | |
| tree | cc50e574fa3cb873e1acc70ba30013a44e06c6d5 /kernel/sysctl_binary.c | |
| parent | a967a45c71ae8978b2c0d06ee0de23f47737cfd5 (diff) | |
sched/fair: add triggers for OPP change requests
Each time a task is {en,de}queued we might need to adapt the current
frequency to the new usage. Add triggers on {en,de}queue_task_fair() for
this purpose. Only trigger a freq request if we are effectively waking up
or going to sleep. Filter out load balancing related calls to reduce the
number of triggers.
[smuckle@linaro.org: resolve merge conflicts, define task_new,
use renamed static key sched_freq]
cc: Ingo Molnar <mingo@redhat.com>
cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Juri Lelli <juri.lelli@arm.com>
Signed-off-by: Steve Muckle <smuckle@linaro.org>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
