From owner-freebsd-hackers Mon Mar 12 1:26:50 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from winston.osd.bsdi.com (winston.osd.bsdi.com [204.216.27.229]) by hub.freebsd.org (Postfix) with ESMTP id 33E2137B718 for ; Mon, 12 Mar 2001 01:26:47 -0800 (PST) (envelope-from jkh@osd.bsdi.com) Received: from localhost (jkh@localhost [127.0.0.1]) by winston.osd.bsdi.com (8.11.2/8.11.1) with ESMTP id f2C9PTH73780; Mon, 12 Mar 2001 01:25:29 -0800 (PST) (envelope-from jkh@osd.bsdi.com) To: clash@tasam.com Cc: bright@wintelcom.net, ianc@ednet.co.uk, freebsd-hackers@FreeBSD.ORG Subject: Re: Greater than 2GB per process In-Reply-To: <003701c0aaaf$a4566ce0$dc02010a@fireduck.com> References: <20010311204130.N18351@fw.wintelcom.net> <003701c0aaaf$a4566ce0$dc02010a@fireduck.com> X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010312012528D.jkh@osd.bsdi.com> Date: Mon, 12 Mar 2001 01:25:28 -0800 From: Jordan Hubbard X-Dispatcher: imput version 20000228(IM140) Lines: 15 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I know very little about how kernel or low level processor stuff works, but > shouldn't we be able to do a 4GB process on a 32-bit system? > The limitation of 2GB per process should only be an issue if there is some > need to use signed numbers, right? Well, that single 4GB of address space is divided up into kernel data structures, which are in the address space of the process but subject to various levels of MMU-provided memory protection, and the process' own "user data." I believe the break is currently set in the middle at 2GB, and various attempts to adjust it more aggressively (in user data's favor) have been interesting but ultimately also proved to break things like BSD/OS binaries, which have their own assumptions about the setting of the break. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message