Enlarging Kernel Stack (doesn't this question ever go away?)

3 messages, 3 authors, 2002-06-24 · open the first message on its own page

Enlarging Kernel Stack (doesn't this question ever go away?)

From: David C. Chiu <hidden>
Date: 2002-06-24 20:50:07

What other thing needs to be done in addition to modifying
INIT_TASK_SIZE in include/linux/sched.h? This is for the 405GP kernel.
TIA.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: Enlarging Kernel Stack (doesn't this question ever go away?)

From: Tom Rini <hidden>
Date: 2002-06-24 21:42:55

On Mon, Jun 24, 2002 at 01:50:07PM -0700, David C. Chiu wrote:
What other thing needs to be done in addition to modifying
INIT_TASK_SIZE in include/linux/sched.h? This is for the 405GP kernel.
Why are you trying to enlarge the stack?  This question never goes away
since it's almost always wrong to enlarge the stack...

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: Enlarging Kernel Stack (doesn't this question ever go away?)

From: Dan Malek <hidden>
Date: 2002-06-24 22:05:57

Tom Rini wrote:
Why are you trying to enlarge the stack?  This question never goes away
since it's almost always wrong to enlarge the stack...
That's correct......you should be allocating space with vmalloc() and
just hanging on to a pointer that you vfree() later.


	-- Dan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help