Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2001 09:26:43 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Amy Fong <afong@furryterror.org>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Acenic driver questions
Message-ID:  <20010404092643.A19602@panzer.kdm.org>
In-Reply-To: <E14kp73-0004up-00@mokona.furryterror.org>; from afong@furryterror.org on Wed, Apr 04, 2001 at 11:22:25AM -0400
References:  <20010404090602.A19240@panzer.kdm.org> <E14kp73-0004up-00@mokona.furryterror.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 04, 2001 at 11:22:25 -0400, Amy Fong wrote:
> Thanks! I should be kicking myself right now. I looked at the zero copy
> code a few months back and totally forgot about it.
> 
> While I'm wasting bandwidth, I've got another question. I've noticed
> that if I use up too much stack space, the freebsd kernel (4.2) seems to
> crash very easily. Specially, if I create an array of size N within a
> function, once the function gets invoked, my machine just reboots.
> How do I find out how much stack space I've got? I'm assuming that it
> _is_ a stack issue. :)

Other folks will probably have a better answer, but...  if you're running
into trouble like that, you should probably be mallocing the array in
question.

Ken
-- 
Kenneth Merry
ken@kdm.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010404092643.A19602>