Re: [patch v3 3/6] sched, nohz: sched group, domain aware nohz idleload balancing

From: Suresh Siddha
Date: Tue Dec 06 2011 - 14:22:57 EST


On Tue, 2011-12-06 at 11:19 -0800, Suresh Siddha wrote:
> From: Suresh Siddha <suresh.b.siddha@xxxxxxxxx>
> Subject: sched, nohz: fix the idle cpu check in nohz_idle_balance
>
> cpu bit in the nohz.idle_cpu_mask are reset in the first busy tick after
> exiting idle. So during nohz_idle_balance(), intention is to double
> check if the cpu that is part of the idle_cpu_mask is indeed idle before
> going ahead in performing idle balance for that cpu.
>
> Fix the cpu typo in the idle_cpu() check during nohz_idle_balance().
>
> Signed-off-by: Suresh Siddha <suresh.b.siddha@xxxxxxxxx>

Should have added:

Reported-by: Srivatsa Vaddagiri <vatsa@xxxxxxxxxxxxxxxxxx>

--
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/