ANDROID: 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> Signed-off-by:
Andres Oportus <andresoportus@google.com>
Loading
Please register or sign in to comment