Date: Thu, 23 Jun 2005 01:07:00 -0700 From: Peter Wemm <peter@wemm.org> To: freebsd-amd64@freebsd.org Subject: Re: mmap(2) length argument limits Message-ID: <200506230107.00574.peter@wemm.org> In-Reply-To: <42B85A70.3070108@palisadesys.com> References: <42B85A70.3070108@palisadesys.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 21 June 2005 11:20 am, Guy Helmer wrote: > Is mmap(2) truly limited to mapping 2GB chunks of a file, even on 64-bit > platforms where a 64-bit offset in the VM system shouldn't be such a > performance penalty, or does the BUGS section of the mmap(2) man page > apply to 32-bit platforms only? It is a man-page bug on all platforms. You can mmap 3GB on 32 bit systems if you have enough process vm space. eg: if you've shrunk the kva space. -Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506230107.00574.peter>