[PATCH] time: Change log level of "NOHZ: local_softirq_pending"message

From: Rado Vrbovsky
Date: Fri Feb 08 2013 - 12:37:37 EST

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.

Signed-off-by: Rado Vrbovsky <rvrbovsk@xxxxxxxxxx>

kernel/time/tick-sched.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index d58e552..ece2beb 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -481,7 +481,7 @@ 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",
+ printk(KERN_WARNING "NOHZ: local_softirq_pending %02x\n",
(unsigned int) local_softirq_pending());
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/