cvs commit: src/sys/netgraph netgraph.h ng_base.c ng_iface.c

M. Warner Losh imp at bsdimp.com
Thu Jan 31 10:32:30 PST 2008


In message: <200801310851.m0V8pmNB093625 at repoman.freebsd.org>
            Alexander Motin <mav at FreeBSD.org> writes:
:  Implement stack protection based on GET_STACK_USAGE() macro.
:  This fixes system panics possible with complicated netgraph setups
:  and allows to avoid unneded extra queueing for stack unwrapping.

How does this help?  What are the units?  The code is almost entirely
opaque given its magic numbers (100?  64?).  Also, if you are checking
to see if the stack usage is too big, it may already be too late.

Warner


More information about the cvs-src mailing list