Commit eadbc20d authored by Quentin Perret's avatar Quentin Perret
Browse files

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: default avatarQuentin Perret <qperret@google.com>
Change-Id: Ie9a6c89249a2aefbccced4786ce4d4728e39dd12
parent 6d961aa9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment