lkml.org 
[lkml]   [2007]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] dump_stack on panic
From
Date
Steven Rostedt <rostedt@goodmis.org> writes:

> Is there any reason why we don't do a dump_stack on panic?

One (mostly psychological, but still serious) problem is that stack
dumps make panics always look like kernel bugs. But there are panics
which are definitely not kernel bugs: like the popular cannot mount
root or machine checks or a couple of others.

We do not want users to send all these panics to linux-kernel
and they would if they look too much like kernel bugs.

I think it's in principle a good idea, but only if you
distingush the cases which are not kernel bugs.
e.g. use a different panic() call for them that does not dump.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-10-31 01:17    [W:0.118 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site