Re: [PATCH] IRQ stacks for PPC64

From: Paul Mackerras
Date: Tue May 25 2004 - 06:19:43 EST


Andrew Morton writes:

> Your show_stack()-from-irq code will need a bit of work to hop across to
> the next stack.

That's taken care of already; the stack frames are linked together on
ppc64, and show_stack follows those links. The change to validate_sp
means that we treat stack addresses as valid if they are on the
process stack or on the hardirq or softirq stack for the cpu that the
process is on.

We have in fact been using this patch in some pretty intensive testing
and we have seen stack traces (from other bugs :) that do hop from one
stack to another. So I am confident that it does work.

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