From: Subash Kalbarga (Subashk@ami.com)
Date: Wed May 22 2002 - 11:24:03 EDT
Thanks for your input Jeff Is there a place where I can make it more than one page. Also, does it mean that if I am in an ISR, then the current processes stack (the space set aside for kernel) will be used? Will there be an indication if the stack overflows? Thanks Subash -----Original Message----- From: D. Jeff Dionne [mailto:jeff@arcturusnetworks.com] Sent: Tuesday, May 21, 2002 7:08 PM To: uclinux-dev@uclinux.org; Subash Kalbarga Subject: Re: [uClinux-dev] kernel stack problems? Subash Kalbarga <Subashk@ami.com> said: > Hi > > I tried reading all mails regarding kernel stack size but could not find a > suitable idea or reply. It depends on page size. > > Where does the kernel set its stack to? There is one per process, the kernel looks after allocating them (in 2.0 they are specifically allocated, later kernels have them combined with task structures). It's safe to assume that it's _one_ page in size. > How do I find if the stack size is enough or is it blowing up? Unless you've added code which eats stack, you should be fine. Check in your architecture setup code that the initial stack is set up in a sane way, though. J. > > How can I increase the stack size? > > Any clues would be greatly appreciated. > > The problem I ma having is random blowups in a driver. > > > Thanks > Subash > AMI > > > > > -- D. Jeff Dionne Jeff@ArcturusNetworks.com This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/
This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:21:17 EDT