X-Git-Url: https://bbs.cooldavid.org/git/?a=blobdiff_plain;f=kernel%2Ftime%2Ftick-sched.c;h=813993b5fb61048f24f876a7247e4f8ac2c861a2;hb=123f94f22e3d283dfe68742b269c245b0501ad82;hp=1a6f828e57a05cd91168192c01c229a6353e57f2;hpb=8c215bd3890c347dfb6a2db4779755f8b9c298a9;p=net-next-2.6.git diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index 1a6f828e57a..813993b5fb6 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c @@ -315,9 +315,6 @@ void tick_nohz_stop_sched_tick(int inidle) goto end; } - if (nohz_ratelimit(cpu)) - goto end; - ts->idle_calls++; /* Read jiffies and the time when jiffies were updated last */ do { @@ -328,7 +325,7 @@ void tick_nohz_stop_sched_tick(int inidle) } while (read_seqretry(&xtime_lock, seq)); if (rcu_needs_cpu(cpu) || printk_needs_cpu(cpu) || - arch_needs_cpu(cpu)) { + arch_needs_cpu(cpu) || nohz_ratelimit(cpu)) { next_jiffies = last_jiffies + 1; delta_jiffies = 1; } else {