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

From: Peter Zijlstra
Date: Tue Mar 19 2013 - 08:59:45 EST


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 <iamjoonsoo.kim@xxxxxxx>

Acked-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/