From owner-freebsd-hackers Wed Apr 4 8:27: 0 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id E772C37B732 for ; Wed, 4 Apr 2001 08:26:49 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id JAA19632; Wed, 4 Apr 2001 09:26:44 -0600 (MDT) (envelope-from ken) Date: Wed, 4 Apr 2001 09:26:43 -0600 From: "Kenneth D. Merry" To: Amy Fong Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Acenic driver questions Message-ID: <20010404092643.A19602@panzer.kdm.org> References: <20010404090602.A19240@panzer.kdm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from afong@furryterror.org on Wed, Apr 04, 2001 at 11:22:25AM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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