Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2000 09:48:56 -0400 (EDT)
From:      Thomas David Rivers <rivers@dignus.com>
To:        jdp@polstra.com, peter.jeremy@alcatel.com.au
Cc:        current@FreeBSD.ORG
Subject:   Re: MLEN and crashes
Message-ID:  <200004141348.JAA56212@lakes.dignus.com>
In-Reply-To: <00Apr14.093744est.115286@border.alcanet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Jeremy <peter.jeremy@alcatel.com.au> wrote:
> 
> On  3/04, John Polstra wrote:
> [don't allocate big structs on kernel stack]
> 
> Many years ago, I wrote a tool that analysed stack requirements by
> parsing the assembler output from the compiler.  It determined the
> stack frame requirements and built a call flow graph to determine
> total stack depth.  It had some hooks to allow indirect function
> calls to be specified manually.  It couldn't handle alloca() (and
> equivalents), but they were forbidden by the design standards.

 Just wondering...

 How did you address recursive functions, or were they also forbidden
 by design standards?

	- Dave Rivers -



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




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