lkml.org 
[lkml]   [2002]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] generic show_stack facility
>>>>> On Fri, 29 Mar 2002 15:23:14 +0000, Christoph Hellwig <hch@infradead.org> said:

Christoph> This patch adds a prototype for show_stack to sched.h and
Christoph> exports it. Andrea's VM updates want this, as does Tux
Christoph> and I think it's a facility we want to proive genericly.

Christoph> Note that some architectures (e.g. ia64) have a
Christoph> conflicting prototype and some (e.g. sparc) don't have
Christoph> show_stack at all, but I think -pre5 is early enough in
Christoph> the 2.4.19 cycle to let the maintainers fix it.

Christoph> Could you apply the patch to your tree?

Please don't. The patch is broken.

Christoph, why do you think the prototype for ia64 is different? It's
because it *has to be*. In general, you can't do a backtrace without
having the full (preserved) state of the CPU at the point of which the
backtrace begins.

--david
-
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: 2005-03-22 13:25    [W:0.085 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site