|
@@ -167,9 +167,15 @@ void tick_nohz_stop_sched_tick(void)
|
|
|
goto end;
|
|
|
|
|
|
cpu = smp_processor_id();
|
|
|
- if (unlikely(local_softirq_pending()))
|
|
|
- printk(KERN_ERR "NOHZ: local_softirq_pending %02x\n",
|
|
|
- local_softirq_pending());
|
|
|
+ if (unlikely(local_softirq_pending())) {
|
|
|
+ static int ratelimit;
|
|
|
+
|
|
|
+ if (ratelimit < 10) {
|
|
|
+ printk(KERN_ERR "NOHZ: local_softirq_pending %02x\n",
|
|
|
+ local_softirq_pending());
|
|
|
+ ratelimit++;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
now = ktime_get();
|
|
|
/*
|