summaryrefslogtreecommitdiffstats
path: root/kernel/mutex.c
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2011-12-06 11:19:37 -0800
committerIngo Molnar <mingo@elte.hu>2011-12-06 20:51:27 +0100
commit8a6d42d1b32ad239c28f445138ea9c19aa52dd20 (patch)
treeddb25da63a4a712d48c545e1b2fce145f723b4e2 /kernel/mutex.c
parentf8b6d1cc7dc15cf3de538b864eefaedad7a84d85 (diff)
downloadblackbird-op-linux-8a6d42d1b32ad239c28f445138ea9c19aa52dd20.tar.gz
blackbird-op-linux-8a6d42d1b32ad239c28f445138ea9c19aa52dd20.zip
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 <vatsa@linux.vnet.ibm.com> Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1323199177.1984.12.camel@sbsiddha-desk.sc.intel.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/mutex.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud