Date: Mon, 3 Apr 2000 15:17:57 +0200 (METDST) From: hm@hcs.de (Hellmuth Michaelis) To: phk@critter.freebsd.dk (Poul-Henning Kamp) Cc: garyj@muc.de, bright@wintelcom.net, hm@hcs.de, freebsd-current@FreeBSD.ORG Subject: Re: MLEN and crashes Message-ID: <20000403131757.4F48238FA@hcswork.hcs.de> In-Reply-To: <19865.954756081@critter.freebsd.dk> from Poul-Henning Kamp at "Apr 3, 0 12:01:21 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000403131757.4F48238FA>