Commit 480945b4 authored by Valentin Schneider's avatar Valentin Schneider
Browse files

SQUASHME: sched/fair: Use sched_energy_aware() for CFS stealing

parent e9543ff8
......@@ -7234,7 +7234,7 @@ idle:
rq_idle_stamp_update(rq);
new_tasks = idle_balance(rq, rf);
if (new_tasks == 0)
if (!sched_energy_aware(rq->rd) && new_tasks == 0)
new_tasks = try_steal(rq, rf);
if (new_tasks)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment