From owner-freebsd-amd64@FreeBSD.ORG Fri Oct 8 22:59:07 2010 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFB021065693 for ; Fri, 8 Oct 2010 22:59:07 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 6B3A98FC08 for ; Fri, 8 Oct 2010 22:59:06 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o98MKDP0091280 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 9 Oct 2010 01:20:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o98MKDo8038871; Sat, 9 Oct 2010 01:20:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o98MKDco038870; Sat, 9 Oct 2010 01:20:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 9 Oct 2010 01:20:13 +0300 From: Kostik Belousov To: Steve Kargl Message-ID: <20101008222013.GT2392@deviant.kiev.zoral.com.ua> References: <20101008221701.GA89977@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KsUBxXnnTURmGdap" Content-Disposition: inline In-Reply-To: <20101008221701.GA89977@troutmask.apl.washington.edu> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-amd64@freebsd.org Subject: Re: linux32 sysctl limits? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2010 22:59:08 -0000 --KsUBxXnnTURmGdap Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 08, 2010 at 03:17:01PM -0700, Steve Kargl wrote: > 'man linux' does not list or describe the following sysctl > variables. >=20 > compat.linux32.maxvmem: 0 > compat.linux32.maxssiz: 67108864 > compat.linux32.maxdsiz: 536870912 >=20 > Are there any limitations with setting these to > say 1G for stack and 4G for data on a system with > 16G of memory? The linux ABI processes are 32bit, so you cannot reallistically assign 4Gb to maxdsiz. The space between data (bss) end and stack bottom is used for mappings, so it should be kept large enough. --KsUBxXnnTURmGdap Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkyvmRwACgkQC3+MBN1Mb4inLwCg5PZQIU1cbWlOctQl18MgIDn+ eYYAoNEl+wfibkeAzIsFg669MPInN1Bo =f3H3 -----END PGP SIGNATURE----- --KsUBxXnnTURmGdap--