Skip to content

Commit cd490c5

Browse files
Suresh SiddhaIngo Molnar
authored andcommitted
sched, nohz: Set the NOHZ_BALANCE_KICK flag for idle load balancer
Intention is to set the NOHZ_BALANCE_KICK flag for the 'ilb_cpu'. Not for the 'cpu' which is the local cpu. Fix the typo. 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/1323199594.1984.18.camel@sbsiddha-desk.sc.intel.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
1 parent 8a6d42d commit cd490c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎kernel/sched/fair.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4853,7 +4853,7 @@ static void nohz_balancer_kick(int cpu)
48534853
if (ilb_cpu >= nr_cpu_ids)
48544854
return;
48554855

4856-
if (test_and_set_bit(NOHZ_BALANCE_KICK, nohz_flags(cpu)))
4856+
if (test_and_set_bit(NOHZ_BALANCE_KICK, nohz_flags(ilb_cpu)))
48574857
return;
48584858
/*
48594859
* Use smp_send_reschedule() instead of resched_cpu().

0 commit comments

Comments
 (0)