On 01/14, Paul E. McKenney wrote:
>
> @@ -700,6 +700,7 @@ static int detach_if_pending(struct timer_list *timer, 
> struct tvec_base *base,
>                       base->next_timer = base->timer_jiffies;
>       }
>       base->all_timers--;
> +     (void)catchup_timer_jiffies(base);

Agreed, but I think that detach_expired_timer() should do the same,
this can stop main loop in __run_timers().

Oleg.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to