>From the keyboard of Poul-Henning Kamp:

> We need to be frugal about the kernel stack, for a lot of reasons,
> that's just the way it is, and as far as I know it is the way
> it will continue to be.

Good. I'd like to learn something from it: Shall i avoid allocating
structs on the kernel stack at all or is it just bad to allocate
big structs ? If the latter is true, what number is big ? I've
scanned a bit through the kernel sources to find the constant which
defines the length of the kernel stack but i was not able to find
anything (which then could be used at compile time to detect a
potentially too large struct).

> Get used to it.

Will do ;-)

hellmuth
-- 
Hellmuth Michaelis                                    Tel   +49 40 55 97 47-70
HCS Hanseatischer Computerservice GmbH                Fax   +49 40 55 97 47-77
Oldesloer Strasse 97-99                               Mail  hm [at] hcs.de
D-22457 Hamburg                                       WWW   http://www.hcs.de


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to