sched: using dst_rq instead of this_rq during load balance
authorMichael Wang <wangyun@linux.vnet.ibm.com>
Mon, 6 Aug 2012 08:41:59 +0000 (16:41 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 13 Aug 2012 16:58:15 +0000 (18:58 +0200)
commit78feefc512a09165627dd534111f651b6c8e605f
tree7bd554141d64cc6c934d8dd6e74c9d9c81897d51
parentedde96eafc91a510f404e7b82cfc0ecb608505ee
sched: using dst_rq instead of this_rq during load balance

As we already have dst_rq in lb_env, using or changing "this_rq" do not
make sense.

This patch will replace "this_rq" with dst_rq in load_balance, and we
don't need to change "this_rq" while process LBF_SOME_PINNED any more.

Signed-off-by: Michael Wang <wangyun@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/501F8357.3070102@linux.vnet.ibm.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/sched/fair.c