Commit e63b9c27 authored by Steve Muckle's avatar Steve Muckle Committed by Todd Kjos
Browse files

sched/fair: jump to max OPP when crossing UP threshold



Since the true utilization of a long running task is not detectable
while it is running and might be bigger than the current cpu capacity,
create the maximum cpu capacity head room by requesting the maximum
cpu capacity once the cpu usage plus the capacity margin exceeds the
current capacity. This is also done to try to harm the performance of
a task the least.

Original fair-class only version authored by Juri Lelli
<juri.lelli@arm.com>.

Change-Id: I42c4eda2a98e8e73dbd3e1c41d1b81a6e3e37f2e
cc: Ingo Molnar <mingo@redhat.com>
cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: default avatarJuri Lelli <juri.lelli@arm.com>
Signed-off-by: default avatarSteve Muckle <smuckle@linaro.org>
(am from https://patchwork.kernel.org/patch/7804971/

)
Signed-off-by: default avatarPunit Agrawal <punit.agrawal@arm.com>
parent 7861cd8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment