[CALL FOR TESTERS] New system call: abort2()

Warner Losh imp at bsdimp.com
Thu Dec 15 17:27:41 PST 2005


> > Also, it tends to make it harder to judge the amount of stackspace
> > a function uses, something which is not entirely uninteresting in
> > kernel programming.
> While it might be harder to get estimate of stack space allocation I
> suspect it could actually lower the allocation.

Maybe, maybe not.  Experience has shown that putting things in inner
scopes only sometimes reduces stack usage, and then it depends on the
compiler, options used, etc.

Warner


More information about the freebsd-hackers mailing list