[v3 PATCH 1/1] booke/kprobe: make program exception to use one dedicated exception stack

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Sep 1 07:32:59 EST 2011


On Wed, 2011-08-31 at 17:17 +0800, tiejun.chen wrote:

> > It sounds hackish but it makes it easier to fix everybody at once, there
> > are "issues" with changing stacks especially on ppc64 and it would
> > definitely be affected as well if the stack frame created is larger than
> > our gap.
> 
> If we provide another exception stack like we did debug exception on ppc64, are
> there those "issues" you said?

Actually if we allocate it like the irq stacks, we should be ok, but
that's yet another 16K per CPU that needs to be covered by the first
segment, nasty....

In any case, please try to come up with a patch that covers all
variants.

Cheers,
Ben.
 



More information about the Linuxppc-dev mailing list