In the last episode (Jul 12), Yar Tikhiy said:
> Hi there,
> 
> As I see, there are many spots in the FreeBSD userland sources where
> multi-kilobyte automatic variables (e.g., string buffers) are used.
> I've been taught that such variables would better be static or
> allocated on heap.
> 
> So the following question comes to my mind:  To stay portable to a
> reasonable degree, how large on-stack variables can be used?

I think most OSes default to an 8MB stack (at least a quick survey of
the ones here do).  FreeBSD seems to default to 64MB.

-- 
        Dan Nelson
        [EMAIL PROTECTED]

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

Reply via email to