* How to increase kernel stack size?
@ 2005-05-09 19:01 Patrick Huesmann
2005-05-10 10:54 ` Patrick Huesmann
0 siblings, 1 reply; 2+ messages in thread
From: Patrick Huesmann @ 2005-05-09 19:01 UTC (permalink / raw)
To: linuxppc-embedded
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to increase kernel stack size?
2005-05-09 19:01 How to increase kernel stack size? Patrick Huesmann
@ 2005-05-10 10:54 ` Patrick Huesmann
0 siblings, 0 replies; 2+ messages in thread
From: Patrick Huesmann @ 2005-05-10 10:54 UTC (permalink / raw)
To: linuxppc-embedded
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-10 10:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-09 19:01 How to increase kernel stack size? Patrick Huesmann
2005-05-10 10:54 ` Patrick Huesmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).