[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090323201628.GB19208@bombadil.infradead.org>
Date: Mon, 23 Mar 2009 16:16:28 -0400
From: Kyle McMartin <kyle@...artin.ca>
To: mingo@...hat.com
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] degrade severity of lockdep printk
From: Kyle McMartin <kyle@...hat.com>
While it means something is awry, the BUG prefix confuses users and
possibly the kerneloops tool. It's also being trivially exhausted in
normal use on my laptop and several other folks machines, but that will
need another look.
Signed-off-by: Kyle McMartin <kyle@...hat.com>
diff --git a/kernel/lockdep.c b/kernel/lockdep.c
index 06b0c35..139a81a 100644
--- a/kernel/lockdep.c
+++ b/kernel/lockdep.c
@@ -368,7 +368,7 @@ static int save_trace(struct stack_trace *trace)
if (!debug_locks_off_graph_unlock())
return 0;
- printk("BUG: MAX_STACK_TRACE_ENTRIES too low!\n");
+ printk("warning: MAX_STACK_TRACE_ENTRIES too low!\n");
printk("turning off the locking correctness validator.\n");
dump_stack();
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists