Re: [PATCH 1/8] sched: change position of resched_cpu() in load_balance()

2013-03-19 Thread Peter Zijlstra
On Thu, 2013-02-14 at 14:48 +0900, Joonsoo Kim wrote: > cur_ld_moved is reset if env.flags hit LBF_NEED_BREAK. > So, there is possibility that we miss doing resched_cpu(). > Correct it as changing position of resched_cpu() > before checking LBF_NEED_BREAK. > > Signed-off-by: Joonsoo Kim

Re: [PATCH 1/8] sched: change position of resched_cpu() in load_balance()

2013-03-19 Thread Peter Zijlstra
On Thu, 2013-02-14 at 14:48 +0900, Joonsoo Kim wrote: cur_ld_moved is reset if env.flags hit LBF_NEED_BREAK. So, there is possibility that we miss doing resched_cpu(). Correct it as changing position of resched_cpu() before checking LBF_NEED_BREAK. Signed-off-by: Joonsoo Kim

[PATCH 1/8] sched: change position of resched_cpu() in load_balance()

2013-02-13 Thread Joonsoo Kim
cur_ld_moved is reset if env.flags hit LBF_NEED_BREAK. So, there is possibility that we miss doing resched_cpu(). Correct it as changing position of resched_cpu() before checking LBF_NEED_BREAK. Signed-off-by: Joonsoo Kim diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index

[PATCH 1/8] sched: change position of resched_cpu() in load_balance()

2013-02-13 Thread Joonsoo Kim
cur_ld_moved is reset if env.flags hit LBF_NEED_BREAK. So, there is possibility that we miss doing resched_cpu(). Correct it as changing position of resched_cpu() before checking LBF_NEED_BREAK. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff --git a/kernel/sched/fair.c