mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
Merge "sched: fair: consider all running tasks in cpu for load balance"
This commit is contained in:
commit
2d9dc7412f
1 changed files with 2 additions and 1 deletions
|
|
@ -9142,9 +9142,10 @@ static inline void update_sg_lb_stats(struct lb_env *env,
|
|||
|
||||
sgs->group_load += cpu_runnable_load(rq);
|
||||
sgs->group_util += cpu_util(i);
|
||||
sgs->sum_nr_running += rq->cfs.h_nr_running;
|
||||
|
||||
nr_running = rq->nr_running;
|
||||
sgs->sum_nr_running += nr_running;
|
||||
|
||||
if (nr_running > 1)
|
||||
*sg_status |= SG_OVERLOAD;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue