mmap(2) length argument limits
Peter Wemm
peter at wemm.org
Thu Jun 23 08:07:33 GMT 2005
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
More information about the freebsd-amd64
mailing list