Loading kernel/sched/fair.c +4 −0 Original line number Diff line number Diff line Loading @@ -1860,6 +1860,10 @@ static int skip_cpu(struct task_struct *p, int cpu, int reason) skip = (rq->capacity >= task_rq->capacity); break; case MOVE_TO_POWER_EFFICIENT_CPU: skip = rq->capacity < task_rq->capacity || power_cost(p, cpu) > power_cost(p, task_cpu(p)); break; default: skip = (cpu == task_cpu(p)); break; Loading Loading
kernel/sched/fair.c +4 −0 Original line number Diff line number Diff line Loading @@ -1860,6 +1860,10 @@ static int skip_cpu(struct task_struct *p, int cpu, int reason) skip = (rq->capacity >= task_rq->capacity); break; case MOVE_TO_POWER_EFFICIENT_CPU: skip = rq->capacity < task_rq->capacity || power_cost(p, cpu) > power_cost(p, task_cpu(p)); break; default: skip = (cpu == task_cpu(p)); break; Loading