On Wed, 04 Apr 2001 14:12:00 EDT, Amy Fong <[EMAIL PROTECTED]> wrote:
>Query: I've noticed that if I use up too much stack space, the freebsd
>kernel (4.2) seems to crash very easily. 

Single page sized kernel stacks aren't uncommon (I don't recall what 
FreeBSD uses, but have found the "it's small, don't allocate arrays there"
strategy to work well).

>Specially, if I create an
>array of size N within a function, 

Don't put arrays on the stack.  Use kernel malloc instead.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to