Message ID | 164958678121.4207.8216849655499016396.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers | show |
Series | [tip:,timers/urgent] tick/nohz: Use WARN_ON_ONCE() to prevent console saturation | expand |
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index 2d76c91..3506f6e 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c @@ -188,7 +188,7 @@ static void tick_sched_do_timer(struct tick_sched *ts, ktime_t now) */ if (unlikely(tick_do_timer_cpu == TICK_DO_TIMER_NONE)) { #ifdef CONFIG_NO_HZ_FULL - WARN_ON(tick_nohz_full_running); + WARN_ON_ONCE(tick_nohz_full_running); #endif tick_do_timer_cpu = cpu; }