From owner-freebsd-hackers Sat Jul 6 1:10:37 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26A3937B417 for ; Sat, 6 Jul 2002 01:10:34 -0700 (PDT) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8F7E43E09 for ; Sat, 6 Jul 2002 01:10:33 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.5/8.12.4) with ESMTP id g668AXLA017677; Sat, 6 Jul 2002 01:10:33 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.5/8.12.4/Submit) id g668AXHF017676; Sat, 6 Jul 2002 01:10:33 -0700 (PDT) (envelope-from dillon) Date: Sat, 6 Jul 2002 01:10:33 -0700 (PDT) From: Matthew Dillon Message-Id: <200207060810.g668AXHF017676@apollo.backplane.com> To: Darren Pilgrim Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: How does swap work address spacewise? References: <20020705113532.GA11273@atrbg11.informatik.tu-muenchen.de> <20020705133515.GA295@HAL9000.wox.org> <20020705133837.GA513@HAL9000.wox.org> <20020705234126.GA12183@atrbg11.informatik.tu-muenchen.de> <3D2640A7.3EA2236B@pantherdragon.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :If RAM + swap can be more than 4GB, how does FreeBSD address swap on a :32-bit machine? Does the kernel internally use a wider address space :with some kind of translation to 32-bit space for programs and hardware :that can't handle 64-bit addresses or does it not map swap into the :address space at all, instead using it as a kind of "offline" storage :for pages not in use? Does the Alpha port handle swap the same way? : The 4GB limitation only applies to memory addresses. Block devices and files have no such limitation ... 'off_t' has been 64 bits for many years. You can create filesystems and files up to 2TB in size in -stable and it will be virtually unlimited in -current. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message