public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] degrade severity of lockdep printk
@ 2009-03-23 20:16 Kyle McMartin
  2009-03-23 20:20 ` Ingo Molnar
  0 siblings, 1 reply; 6+ messages in thread
From: Kyle McMartin @ 2009-03-23 20:16 UTC (permalink / raw)
  To: mingo; +Cc: linux-kernel

From: Kyle McMartin <kyle@redhat.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@redhat.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();
 

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-03-23 21:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-23 20:16 [PATCH] degrade severity of lockdep printk Kyle McMartin
2009-03-23 20:20 ` Ingo Molnar
2009-03-23 20:28   ` Kyle McMartin
2009-03-23 20:32     ` Peter Zijlstra
2009-03-23 20:39       ` Kyle McMartin
2009-03-23 21:12         ` Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox