]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
tick: Change log level of NOHZ: local_softirq_pending message
authorRado Vrbovsky <rvrbovsk@redhat.com>
Fri, 8 Feb 2013 17:37:30 +0000 (12:37 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 25 Mar 2013 09:46:59 +0000 (10:46 +0100)
The "NOHZ: local_softirq_pending" message is a largely informational
message.  This makes extra work for customers that have a policy of
investigating all kernel log messages logged at <= KERN_ERR log level.
This patch sets the message to a different log level.

[ tglx: Use pr_warn() ]

Signed-off-by: Rado Vrbovsky <rvrbovsk@redhat.com>
Cc: Don Zickus <dzickus@redhat.com>
Link: http://lkml.kernel.org/r/2037057938.893524.1360345050772.JavaMail.root@redhat.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/tick-sched.c

index a19a39952c1b24d3dd0ab0e9bd354fa9c5a7cb46..225f8bf19095a6f4e4abb5b2bc2458fb5b6baf1b 100644 (file)
@@ -482,8 +482,8 @@ static bool can_stop_idle_tick(int cpu, struct tick_sched *ts)
 
                if (ratelimit < 10 &&
                    (local_softirq_pending() & SOFTIRQ_STOP_IDLE_MASK)) {
-                       printk(KERN_ERR "NOHZ: local_softirq_pending %02x\n",
-                              (unsigned int) local_softirq_pending());
+                       pr_warn("NOHZ: local_softirq_pending %02x\n",
+                               (unsigned int) local_softirq_pending());
                        ratelimit++;
                }
                return false;