From owner-freebsd-emulation Wed May 31 20: 9:46 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id E639837BF5D for ; Wed, 31 May 2000 20:09:41 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id MAA26044; Thu, 1 Jun 2000 12:59:46 +1000 Date: Thu, 1 Jun 2000 12:59:41 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Marcel Moolenaar Cc: Michael Reifenberger , freebsd-emulation@FreeBSD.ORG Subject: Re: AW: Oracle8.1.6/Linux inst prob (Is JRE prob). In-Reply-To: <393578F7.91380DE4@cup.hp.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 31 May 2000, Marcel Moolenaar wrote: > Michael Reifenberger wrote: > > > > Hi, > > wouldn't it be possible to lower FreeBSD's MINSIGSTKSZ to 2k? > > AFAICT: no. Um, why not? It seems to be a completely abritrary value. It is only checked at the start of the sigaltstack(). Perhaps it should be related to PAGE_SIZE. but it is defined to 8192 for all machines. If 8192 is best for i386's, then it is not best for alphas. It only has to be related to the size of the signal frame, so that at least one signal can be delivered on the signal stack. Note that the recommended stack size, SIGSTKSZ, is much larger than MINSIGSTKSZ (32768 larger for all machines). Under Linux-2.3.35, SIGSTKSZ is 4 times larger than MINSIGSTKSZ on all machines, and the values are correctly machine-dependent (twice as large for alphas as for i386's). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message