Re: [PATCH] generic show_stack facility

From: David Mosberger (davidm@napali.hpl.hp.com)
Date: Fri Mar 29 2002 - 10:46:07 EST


>>>>> 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/



This archive was generated by hypermail 2b29 : Sun Mar 31 2002 - 22:00:18 EST