From: Suresh Siddha Date: Tue, 6 Dec 2011 19:19:37 +0000 (-0800) Subject: sched, nohz: Fix the idle cpu check in nohz_idle_balance X-Git-Tag: v3.3-rc1~191^2~9^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a6d42d1b32ad239c28f445138ea9c19aa52dd20;p=pandora-kernel.git 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(). Reported-by: Srivatsa Vaddagiri Signed-off-by: Suresh Siddha Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/1323199177.1984.12.camel@sbsiddha-desk.sc.intel.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed