mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
Merge "sched: rt: Fix double accounting of cpu util in task placement decision"
This commit is contained in:
commit
dd0b2f4c79
1 changed files with 3 additions and 3 deletions
|
|
@ -1852,11 +1852,11 @@ retry:
|
|||
if (sched_cpu_high_irqload(cpu))
|
||||
continue;
|
||||
|
||||
util = cpu_util(cpu);
|
||||
|
||||
if (__cpu_overutilized(cpu, util + tutil))
|
||||
if (__cpu_overutilized(cpu, tutil))
|
||||
continue;
|
||||
|
||||
util = cpu_util(cpu);
|
||||
|
||||
/* Find the least loaded CPU */
|
||||
if (util > best_cpu_util)
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue