Date: Fri, 12 Jul 2002 19:48:09 +0400 From: Yar Tikhiy <yar@comp.chem.msu.su> To: hackers@freebsd.org Subject: Large variables on stack Message-ID: <20020712194809.A62768@comp.chem.msu.su>
next in thread | raw e-mail | index | archive | help
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? -- Yar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020712194809.A62768>