aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_fair.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2010-10-14 03:11:43 -0400
committerIngo Molnar <mingo@elte.hu>2010-10-14 03:11:46 -0400
commited859ed3b0f9893c6bce3708e8928341c15699b9 (patch)
tree59c507f00bc13becb4accdd64fdc01ece08b4645 /kernel/sched_fair.c
parenta8027073eb127cd207070891374b5c54c2ce3d23 (diff)
parent53eeb64e808971207350386121f4bab12fa2f45f (diff)
Merge branch 'linus' into sched/core
Merge reason: update from -rc5 to -almost-final Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r--kernel/sched_fair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index aa16cf1eb8fe..623e9aceef8f 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -3637,7 +3637,7 @@ static inline int nohz_kick_needed(struct rq *rq, int cpu)
3637 if (time_before(now, nohz.next_balance)) 3637 if (time_before(now, nohz.next_balance))
3638 return 0; 3638 return 0;
3639 3639
3640 if (!rq->nr_running) 3640 if (rq->idle_at_tick)
3641 return 0; 3641 return 0;
3642 3642
3643 first_pick_cpu = atomic_read(&nohz.first_pick_cpu); 3643 first_pick_cpu = atomic_read(&nohz.first_pick_cpu);