[PATCH v8 0/4] arm64: Add support for IRQ stack
Catalin Marinas
catalin.marinas at arm.com
Fri Dec 4 05:57:52 PST 2015
On Fri, Dec 04, 2015 at 11:02:24AM +0000, James Morse wrote:
> Patch 4 is new, following Catalin's comments, but I don't think it is
> necessary unless we also decrease the stack size,
That's the whole aim of this patchset, to try to to get back to 8KB
stacks.
> which I don't think we should do immediatly - it would be good to
> collect some max_stack_size values for various workloads first.
We could make it configurable though, maybe defaulting to 16KB for a
while.
IIRC, the stack overflows we had in the past were triggered when running
specweb but I don't remember whether it was hard or soft IRQs that
caused the issues (could have been both). We could run some tests again
and see how close we get to the 8KB limit.
BTW, what's the disadvantage of always switching to the IRQ stack in
do_softirq?
--
Catalin
More information about the linux-arm-kernel
mailing list