ANDROID: sched/fair: Sync task util early in feec
The vendor hook in find_energy_efficient_cpu() currently sees a potentially stale task utilization. Make sure to sync it beforehand to avoid any issues by moving the call at the top of the function. This also ensures the check on task_fits_capacity() when the sync flag is set sees an up-to-date task util. Fixes: a9c5fcfe ("ANDROID: sched/fair: Have sync honor fits_capacity") Fixes: 147a9b3d ("ANDROID: sched: Add vendor hooks for find_energy_efficient_cpu") Signed-off-by:Quentin Perret <qperret@google.com> Change-Id: Ie9a6c89249a2aefbccced4786ce4d4728e39dd12
Loading
Please sign in to comment