projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a6d42d
)
sched, nohz: Set the NOHZ_BALANCE_KICK flag for idle load balancer
author
Suresh Siddha
<
[email protected]
>
Tue, 6 Dec 2011 19:26:34 +0000
(11:26 -0800)
committer
Ingo Molnar
<
[email protected]
>
Tue, 6 Dec 2011 19:51:29 +0000
(20:51 +0100)
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 <
[email protected]
>
Signed-off-by: Suresh Siddha <
[email protected]
>
Signed-off-by: Peter Zijlstra <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
kernel/sched/fair.c
patch
|
blob
|
history
diff --git
a/kernel/sched/fair.c
b/kernel/sched/fair.c
index 8be45edca41a4d5b7d4b6d73f436ff68e355055e..6482136f89914518ec544ff90f95516d7987652f 100644
(file)
--- a/
kernel/sched/fair.c
+++ b/
kernel/sched/fair.c
@@
-4853,7
+4853,7
@@
static void nohz_balancer_kick(int cpu)
if (ilb_cpu >= nr_cpu_ids)
return;
- if (test_and_set_bit(NOHZ_BALANCE_KICK, nohz_flags(cpu)))
+ if (test_and_set_bit(NOHZ_BALANCE_KICK, nohz_flags(
ilb_
cpu)))
return;
/*
* Use smp_send_reschedule() instead of resched_cpu().