diff options
| author | Juri Lelli <juri.lelli@arm.com> | 2015-08-19 19:47:12 +0100 |
|---|---|---|
| committer | Amit Pundir <amit.pundir@linaro.org> | 2016-09-14 14:58:22 +0530 |
| commit | d2bf66aac444a8d0ea95e5ff17a0e8563766c594 (patch) | |
| tree | d0b6a9d166ea0ebfbafb91beafec6ad5293426e3 /kernel/sysctl_binary.c | |
| parent | 5c905a0861295cb172b8b7c9138ed595e23a116f (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
