Subject: Re: CVS commit: syssrc/sys/net
To: Darren Reed <darrenr@reed.wattle.id.au>
From: Anders Magnusson <ragge@ludd.luth.se>
List: tech-net
Date: 09/29/2002 10:56:35
> In some email I received from Jason R Thorpe, sie wrote:
> [...]
> > ....I suppose another option would be to have an "mbuf initializer" macro
> > that made sure all the fields were set properly... but that doesn't address
> > the stack usage problem.  I suppose the stack usage hasn't been a problem so
> > far, so maybe this is the best choice.
> [...]
> 
> You mentioned the stack a couple of times.  The mbuf structure is
> only, what 256 bytes or so ?  Is something that 'small' a concern
> on the stack?
> 
On the kernel stack yes. If there only is, say, 6k stack then it may be
eaten up quite fast.

> I'm pretty sure that you'll find IPFilter uses bigger structures
> on the stack than that :-)
> 
Maybe that's the reason IPF crashes on vax simultaneously :-/

-- Ragge