Re: [PATCH 4/8] x86: Add support for rd/wr fs/gs base

From: Andi Kleen
Date: Fri Apr 10 2015 - 18:53:04 EST

> I think all of this stems from unfortunate naming. DEBUG_STACK isn't
> one stack -- it's a debug stack *array*. The IST shift mechanism
> means that we can use different entries in that array as our stacks
> depending on how deeply nested we are.

It's not. It was always intended as one stack. It still is, for anyone
not nesting debuggers (which afaik doesn't happen in-tree, it was
only for Jan Beulich's magic debugger)

I wrote the original code, so I should know.


ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at