sched: Fix inefficiencies in the load balancer.

Capacity comparisons should use capacity_orig_of instead of capacity_of
for over utilization and task fitness criteria. Plus remove a redundant
check from need_active_balance(). Finally fix find_busiest_queue() to
return a rq with a misfit task even if it has more than 1 task.

Change-Id: I61209f4bbf632c42a16dd88579f8bab6ab132624
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
1 file changed