Skip to content
Commit 632f7ed0 authored by Pierre Gondois's avatar Pierre Gondois
Browse files

sched/fair: avoid negative delta in feec()



If utilization values are updated in between calls to
compute_energy(), this can result in a negative delta value.
In such case, bail out of feec(), meaning the task will be placed
on prev_cpu. The task will have a chance to be migrated in the next
call to feec().

Signed-off-by: default avatarPierre Gondois <Pierre.Gondois@arm.com>
parent f40ddce8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment