Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Dec 2005 18:26:25 -0700 (MST)
From:      Warner Losh <imp@bsdimp.com>
To:        V.Haisman@sh.cvut.cz
Cc:        freebsd-hackers@freebsd.org, phk@phk.freebsd.dk, dunstan@freebsd.czest.pl
Subject:   Re: [CALL FOR TESTERS] New system call: abort2()
Message-ID:  <20051215.182625.102526893.imp@bsdimp.com>
In-Reply-To: <43A20303.6020005@sh.cvut.cz>
References:  <2936.1134689529@critter.freebsd.dk> <43A20303.6020005@sh.cvut.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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



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