How to increase kernel stack size?

2 messages, 1 author, 2005-05-10 · open the first message on its own page

How to increase kernel stack size?

From: Patrick Huesmann <hidden>
Date: 2005-05-09 18:58:16

Hi,

is there a way to set the kernel stack size (for interrupts) at compile 
time?
I need to have more stack space for the external interrupt on a PPC-405.

BTW, I'm using a RTAI patch but it shouldn't matter as the realtime 
interrupts use the same stack as Linux interrupts.

TIA,
Patrick

Re: How to increase kernel stack size?

From: Patrick Huesmann <hidden>
Date: 2005-05-10 10:54:31

Just FYI:

The symbol INIT_TASK_SIZE defines the length of a union (task_union)
which holds the kernel stack. But when I define this value to be
larger than 8192, the kernel wouldn't boot.
So this value is probably hard-coded somewhere else.

BTW, I'm using 2.4.26

Does someone know how to increase the kernel stack size for PPC archs?
I really need more stack for my external interrupt b/c sometimes the
peripheral generates fast bursts on the external interrupt line, which
lead to kernel stack overflow.
(SA_INTERRUPT doesn't help because this is a realtime interrupt).

Any ideas?

TIA,
Patrick
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help