sched/fair: Allow calculate_imbalance() to move idle cpus
authorPeter Zijlstra <peterz@infradead.org>
Tue, 29 Jul 2014 15:15:11 +0000 (17:15 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 12 Aug 2014 10:48:20 +0000 (12:48 +0200)
commit9a5d9ba6a3631d55c358fe1bdbaa162a97471a05
tree4fca0c599811ec113deef0e3b7e762170fa208b1
parentcaeb178c60f4f93f1b45c0bc056b5cf6d217b67f
sched/fair: Allow calculate_imbalance() to move idle cpus

Allow calculate_imbalance() to 'create' idle cpus in the busiest group
if there are idle cpus in the local group.

Suggested-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Vincent Guittot <vincent.guittot@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/20140729152705.GX12054@laptop.lan
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c