linux-mips
[Top] [All Lists]

Re: enlarge KERNEL_STACK_SIZE

To: ?? <kevin@gv.com.tw>
Subject: Re: enlarge KERNEL_STACK_SIZE
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 10 Dec 2002 13:35:36 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <00da01c2a047$2aa9f9e0$e20310ac@gv.com.tw>; from kevin@gv.com.tw on Tue, Dec 10, 2002 at 08:25:03PM +0800
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <011c01c29c54$7aa64c60$e20310ac@gv.com.tw> <20021205132358.A5634@linux-mips.org> <00da01c2a047$2aa9f9e0$e20310ac@gv.com.tw>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5.1i
On Tue, Dec 10, 2002 at 08:25:03PM +0800, ?? wrote:

>  how to enlarge KERNEL_STACK_SIZE?
> 
>  is it enough if i only change 
>  the definition of KERNEL_STACK_SIZE in include/asm-mips/processor.h ?

No, other changes would be needed also.  HOWEVER:  It's a very bad idea.
Stacks larger than 8kB require allocation of order 2 or even bigger
pages which will make the kernel unreliable.  I really recommend to stick
with the current 8kB stacks.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>